demo playback fixes
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1155 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -137,7 +137,7 @@ void parsemessages(int cn, playerent *d, ucharbuf &p)
|
||||
}
|
||||
|
||||
case SV_SOUND:
|
||||
playsound(getint(p), !d || localdemoplayer1st() ? NULL : &d->o);
|
||||
playsound(getint(p), !d || (localdemoplayer1st() && cn==democlientnum) ? NULL : &d->o);
|
||||
break;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user