grenade sound fix

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1433 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2007-11-17 14:36:59 +00:00
parent 474d13d331
commit 4176266ad9
2 changed files with 15 additions and 6 deletions
+2 -2
View File
@@ -279,11 +279,11 @@ void parsemessages(int cn, playerent *d, ucharbuf &p)
loopk(3) from[k] = getint(p)/DMF;
loopk(3) to[k] = getint(p)/DMF;
playerent *s = getclient(scn);
if(!s || gun==GUN_GRENADE) break;
if(!s) break;
if(gun==GUN_SHOTGUN) createrays(from, to);
s->lastaction = lastmillis;
s->lastattackgun = s->gunselect;
shootv(gun, from, to, s, false, 0);
shootv(gun, from, to, s, false, -1);
break;
}