footstep sound bug, nosway

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1415 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2007-11-11 10:18:10 +00:00
parent 30855c8ec8
commit a6c1801d54
5 changed files with 38 additions and 52 deletions
+1 -1
View File
@@ -375,7 +375,7 @@ void showteamkill() { player1->lastteamkill = lastmillis; }
void dodamage(int damage, playerent *pl, playerent *actor, bool gib, bool local)
{
if(pl->state!=CS_ALIVE || intermission) return;
if(pl->state != CS_ALIVE || pl->state == CS_EDITING || intermission) return;
pl->lastpain = lastmillis;
if(local) damage = pl->dodamage(damage);