aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/nebular
diff options
context:
space:
mode:
authorStrangerke2014-09-29 00:26:58 +0200
committerStrangerke2014-09-29 00:26:58 +0200
commit913616f951969bb3c5f11946cd342aa42b41eea6 (patch)
treefd04e5c4b2c8b7e6719961be66484c46020fb3ea /engines/mads/nebular
parent9a927d7fd1378f8995a99124719feb8d2ccc6504 (diff)
downloadscummvm-rg350-913616f951969bb3c5f11946cd342aa42b41eea6.tar.gz
scummvm-rg350-913616f951969bb3c5f11946cd342aa42b41eea6.tar.bz2
scummvm-rg350-913616f951969bb3c5f11946cd342aa42b41eea6.zip
MADS: Rex - Fix safety check in ASound9
Diffstat (limited to 'engines/mads/nebular')
-rw-r--r--engines/mads/nebular/sound_nebular.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mads/nebular/sound_nebular.cpp b/engines/mads/nebular/sound_nebular.cpp
index 5ce362e053..c540eb4382 100644
--- a/engines/mads/nebular/sound_nebular.cpp
+++ b/engines/mads/nebular/sound_nebular.cpp
@@ -3141,7 +3141,7 @@ ASound9::ASound9(Audio::Mixer *mixer, FM_OPL *opl) : ASound(mixer, opl, "asound.
}
int ASound9::command(int commandId, int param) {
- if (commandId > 60)
+ if (commandId > 51)
return 0;
_commandParam = param;