From d68f95b3be82fe0048b6ba72f70b80887214a0e6 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sun, 23 Apr 2006 18:52:39 +0000 Subject: Move HE specific stuff from class Sound to its new subclass SoundHE svn-id: r22115 --- engines/scumm/he/script_v80he.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/scumm/he/script_v80he.cpp') 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() { -- cgit v1.2.3