*** empty log message ***
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1280 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -768,7 +768,7 @@ void processevent(client *c, shotevent &e)
|
||||
int wait = e.millis - gs.lastshot;
|
||||
if(!gs.isalive(gamemillis) ||
|
||||
e.gun<GUN_KNIFE || e.gun>=NUMGUNS ||
|
||||
(gs.gunwait[e.gun] && wait<gs.gunwait[e.gun]) ||
|
||||
wait<gs.gunwait[e.gun] ||
|
||||
gs.mag[e.gun]<=0)
|
||||
return;
|
||||
if(e.gun!=GUN_KNIFE) gs.mag[e.gun]--;
|
||||
|
||||
Reference in New Issue
Block a user