Fix push sector sound

This commit is contained in:
nukeykt 2019-11-14 07:49:02 +09:00 committed by Christoph Oelckers
parent f7fbcd09b4
commit cd6bbd96a7

View file

@ -1493,7 +1493,7 @@ void FuncPlayer(int pA, int nDamage, int nRun)
short nBlock = sector[nPlayerPushSect[nPlayer]].extra; short nBlock = sector[nPlayerPushSect[nPlayer]].extra;
int nBlockSprite = sBlockInfo[nBlock].nSprite; int nBlockSprite = sBlockInfo[nBlock].nSprite;
D3PlayFX(StaticSound[kSound23], nBlockSprite |= 0x40u); D3PlayFX(StaticSound[kSound23], nBlockSprite | 0x4000);
} }
else else
{ {