cleaned up hud issues with nade

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@233 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
arghvark
2006-03-24 21:29:54 +00:00
parent 4b40ca2390
commit 55b4bf1d6d
2 changed files with 10 additions and 4 deletions
+1 -1
View File
@@ -86,7 +86,7 @@ COMMAND(wdw,ARG_NONE);
void reload()
{
if(player1->gunselect==GUN_KNIFE) return;
if(player1->gunselect==GUN_KNIFE || player1->gunselect==GUN_GRENADE) return;
if(player1->mag[player1->gunselect]>=guns[player1->gunselect].magsize) return;
if(player1->ammo[player1->gunselect]<=0) return;
if(player1->reloading) return;