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:
driAn
2007-06-15 19:46:30 +00:00
parent 7a752f8302
commit 040fed8593
4 changed files with 6 additions and 3 deletions
+1 -1
View File
@@ -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;