diff options
author | Travis Howell | 2006-01-05 09:02:41 +0000 |
---|---|---|
committer | Travis Howell | 2006-01-05 09:02:41 +0000 |
commit | 2f7acd49add4c34db73def3773dd453d5d45d341 (patch) | |
tree | 18e70043e2d11755a49f1ec5fdfba780e964bc37 /scumm | |
parent | 1995eec5504a4bc5ceeb532d9df7588441060f64 (diff) | |
download | scummvm-rg350-2f7acd49add4c34db73def3773dd453d5d45d341.tar.gz scummvm-rg350-2f7acd49add4c34db73def3773dd453d5d45d341.tar.bz2 scummvm-rg350-2f7acd49add4c34db73def3773dd453d5d45d341.zip |
Adjust size, script in freddi3 triggers sound var 26.
svn-id: r19914
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/sound_he.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/sound_he.cpp b/scumm/sound_he.cpp index 78ded19c9b..a941ca3b22 100644 --- a/scumm/sound_he.cpp +++ b/scumm/sound_he.cpp @@ -87,7 +87,7 @@ int Sound::getSoundPriority(int sound) { } int Sound::getSoundVar(int sound, int var) { - checkRange(25, 0, var, "Illegal sound variable %d"); + checkRange(26, 0, var, "Illegal sound variable %d"); int chan = -1; for (int i = 0; i < ARRAYSIZE(_heChannel); i ++) { @@ -104,7 +104,7 @@ int Sound::getSoundVar(int sound, int var) { } void Sound::setSoundVar(int sound, int var, int val) { - checkRange(25, 0, var, "Illegal sound variable %d"); + checkRange(26, 0, var, "Illegal sound variable %d"); int chan = -1; for (int i = 0; i < ARRAYSIZE(_heChannel); i ++) { |