[Scummvm-cvs-logs] scummvm master -> 913616f951969bb3c5f11946cd342aa42b41eea6

Strangerke Strangerke at scummvm.org
Mon Sep 29 00:28:48 CEST 2014


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
913616f951 MADS: Rex - Fix safety check in ASound9


Commit: 913616f951969bb3c5f11946cd342aa42b41eea6
    https://github.com/scummvm/scummvm/commit/913616f951969bb3c5f11946cd342aa42b41eea6
Author: Strangerke (strangerke at scummvm.org)
Date: 2014-09-29T00:26:58+02:00

Commit Message:
MADS: Rex - Fix safety check in ASound9

Changed paths:
    engines/mads/nebular/sound_nebular.cpp



diff --git a/engines/mads/nebular/sound_nebular.cpp b/engines/mads/nebular/sound_nebular.cpp
index 5ce362e..c540eb4 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;






More information about the Scummvm-git-logs mailing list