no message

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@835 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2007-01-16 20:43:50 +00:00
parent fc91d9f79b
commit 8853f9c7c6
4 changed files with 9 additions and 2 deletions
+1
View File
@@ -497,6 +497,7 @@ void selfdamage(int damage, int actor, playerent *act, bool gib, playerent *pl)
deathstate(pl);
pl->lifesequence++;
playsound(S_DIE1+rnd(2), pl!=player1 ? &pl->o : NULL);
if(act && act->gunselect == GUN_SNIPER && gib) playsound(S_HEADSHOT);
if(gib) addgib(pl);
if(pl!=player1 || act->type==ENT_BOT) act->frags += gib ? 2 : 1;
}