*** empty log message ***
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@765 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -233,8 +233,11 @@ void parsemessages(int cn, playerent *d, ucharbuf &p)
|
||||
else
|
||||
{
|
||||
playerent *victim = getclient(target);
|
||||
playsound(S_PAIN1+rnd(5), &victim->o);
|
||||
victim->lastpain = lastmillis;
|
||||
if(victim)
|
||||
{
|
||||
playsound(S_PAIN1+rnd(5), &victim->o);
|
||||
victim->lastpain = lastmillis;
|
||||
};
|
||||
};
|
||||
gib = false;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user