XEEN: Fix crash playing Fx when music is playing
This commit is contained in:
parent
577f19373e
commit
f2766d743b
1 changed files with 0 additions and 1 deletions
|
@ -200,7 +200,6 @@ bool MusicDriver::fxEndSubroutine(const byte *&srcP, byte param) {
|
|||
|
||||
void MusicDriver::playFX(uint effectId, const byte *data) {
|
||||
if (!_fxPlaying || effectId < 7 || effectId >= 11) {
|
||||
_musStartPtr = nullptr;
|
||||
_fxDataPtr = _fxStartPtr = data;
|
||||
_fxCountdownTimer = 0;
|
||||
_channels[7]._changeFrequency = _channels[8]._changeFrequency = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue