Commit 8c7b5999 authored by mercury233's avatar mercury233

fix

parent 1772391b
......@@ -2060,7 +2060,7 @@ int DuelClient::ClientAnalyze(char * msg, unsigned int len) {
int cp = BufferIO::ReadInt8(pbuf);
int reason = BufferIO::ReadInt32(pbuf);
if(!mainGame->dInfo.isReplay || !mainGame->dInfo.isReplaySkiping) {
if(cl & LOCATION_REMOVED)
if(cl & LOCATION_REMOVED && pl != cl)
mainGame->PlaySoundEffect(SOUND_BANISHED);
else if(reason & REASON_DESTROY && pl != cl)
mainGame->PlaySoundEffect(SOUND_DESTROYED);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment