diff options
author | Eugene Sandulenko | 2004-12-22 13:09:47 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2004-12-22 13:09:47 +0000 |
commit | 2fb8a8e45369b000b9f36d2433425ca48f6d9d13 (patch) | |
tree | 7b0c6ad4c4e004a2d58302e2cc57f226be7c13a8 /saga/sthread.cpp | |
parent | eaa0f3b9740b81fff59792de55f335c149344c69 (diff) | |
download | scummvm-rg350-2fb8a8e45369b000b9f36d2433425ca48f6d9d13.tar.gz scummvm-rg350-2fb8a8e45369b000b9f36d2433425ca48f6d9d13.tar.bz2 scummvm-rg350-2fb8a8e45369b000b9f36d2433425ca48f6d9d13.zip |
o Moved GAME_* to SagaEngine object
o Renamed GAME_ITE_* to GID_ITE_*
o Renamed GID_ITE and GID_IHNM to GType_ITE and GType_IHNM
svn-id: r16258
Diffstat (limited to 'saga/sthread.cpp')
-rw-r--r-- | saga/sthread.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/saga/sthread.cpp b/saga/sthread.cpp index 2eebfb0c08..799c16061e 100644 --- a/saga/sthread.cpp +++ b/saga/sthread.cpp @@ -31,7 +31,6 @@ #include "saga/script.h" #include "saga/sdata.h" -#include "saga/game_mod.h" #include "saga/stream.h" #include "saga/scene.h" #include "saga/resnames.h" @@ -763,7 +762,7 @@ int Script::SThreadRun(SCRIPT_THREAD *thread, int instr_limit) { } // now data contains last string index - if (GAME_GetGame() == GAME_ITE_DISK) { // special ITE dos + if (_vm->_gameId == GID_ITE_DISK) { // special ITE dos if ((_vm->_scene->currentSceneNumber() == ITE_DEFAULT_SCENE) && (data >= 288) && (data <= (SCENE1_VOICE_138 - SCENE1_VOICE_009 + 288))) { sampleResourceId = SCENE1_VOICE_009 + data - 288; } |