diff options
author | Max Horn | 2006-04-23 18:52:39 +0000 |
---|---|---|
committer | Max Horn | 2006-04-23 18:52:39 +0000 |
commit | d68f95b3be82fe0048b6ba72f70b80887214a0e6 (patch) | |
tree | add586af344a76ffe43ae8c6475207c12a851e47 /engines/scumm/he/script_v80he.cpp | |
parent | 78dfa1f28062378b98b204e9e10c4a8f182cf4c9 (diff) | |
download | scummvm-rg350-d68f95b3be82fe0048b6ba72f70b80887214a0e6.tar.gz scummvm-rg350-d68f95b3be82fe0048b6ba72f70b80887214a0e6.tar.bz2 scummvm-rg350-d68f95b3be82fe0048b6ba72f70b80887214a0e6.zip |
Move HE specific stuff from class Sound to its new subclass SoundHE
svn-id: r22115
Diffstat (limited to 'engines/scumm/he/script_v80he.cpp')
-rw-r--r-- | engines/scumm/he/script_v80he.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/scumm/he/script_v80he.cpp b/engines/scumm/he/script_v80he.cpp index cfcac4299a..8735e920c7 100644 --- a/engines/scumm/he/script_v80he.cpp +++ b/engines/scumm/he/script_v80he.cpp @@ -34,7 +34,7 @@ #include "scumm/resource.h" #include "scumm/he/resource_he.h" #include "scumm/scumm.h" -#include "scumm/sound.h" +#include "scumm/he/sound_he.h" namespace Scumm { @@ -432,7 +432,7 @@ void ScummEngine_v80he::o80_stringToInt() { void ScummEngine_v80he::o80_getSoundVar() { int var = pop(); int snd = pop(); - push(_sound->getSoundVar(snd, var)); + push(((SoundHE *)_sound)->getSoundVar(snd, var)); } void ScummEngine_v80he::o80_localizeArrayToRoom() { |