git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5039 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Rafael Barreto
2010-05-24 20:25:57 +00:00
parent 5683215941
commit f40e0a454c
+2 -2
View File
@@ -634,9 +634,9 @@ void dodamage(int damage, playerent *pl, playerent *actor, bool gib, bool local)
pl->respawnoffset = pl->lastpain = lastmillis;
// playerent *h = local ? player1 : updatefollowplayer(0);
if(/*actor==h && pl!=actor*/ pl == player1) // FIXME
if(/*actor==h && pl!=actor*/ actor == player1) // FIXME
{
if(hitsound && lasthit != lastmillis) audiomgr.playsound(S_HITSOUND, SP_LOW);
if(hitsound && lasthit != lastmillis) audiomgr.playsound(S_HITSOUND, SP_HIGH);
lasthit = lastmillis;
}