*** empty log message ***

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@903 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2007-04-03 18:56:40 +00:00
parent a735498b8e
commit fae7543e2a
14 changed files with 563 additions and 560 deletions
+5
View File
@@ -95,6 +95,10 @@ struct weaponmove
}
};
VARP(hudgun,0,1,1);
char *hudgunnames[] = { "knife", "pistol", "shotgun", "subgun", "sniper", "assault", "grenade" };
void renderhudgun(int gun, int lastaction, int index = 0)
{
vec unitv;
@@ -115,6 +119,7 @@ void renderhudgun(int gun, int lastaction, int index = 0)
void renderhudgun()
{
if(!hudgun) return;
if(player1->akimbo && player1->gunselect==GUN_PISTOL) // akimbo
{
renderhudgun(GUN_PISTOL, player1->akimbolastaction[0], 0);