aboutsummaryrefslogtreecommitdiff
path: root/saga/image.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2004-12-22 13:09:47 +0000
committerEugene Sandulenko2004-12-22 13:09:47 +0000
commit2fb8a8e45369b000b9f36d2433425ca48f6d9d13 (patch)
tree7b0c6ad4c4e004a2d58302e2cc57f226be7c13a8 /saga/image.cpp
parenteaa0f3b9740b81fff59792de55f335c149344c69 (diff)
downloadscummvm-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/image.cpp')
-rw-r--r--saga/image.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/saga/image.cpp b/saga/image.cpp
index d87a0e7f4f..e9603798a0 100644
--- a/saga/image.cpp
+++ b/saga/image.cpp
@@ -24,8 +24,6 @@
// SAGA Image resource management routines
#include "saga/saga.h"
-#include "saga/game_mod.h"
-
#include "saga/image.h"
#include "saga/stream.h"
@@ -94,7 +92,7 @@ int SagaEngine::decodeBGImage(const byte *image_data, size_t image_size,
unbankBGImage(out_buf, decode_buf, hdr.width, hdr.height);
// For some reason bg images in IHNM are upside down
- if (GAME_GetGameType() == GID_IHNM) {
+ if (_vm->_gameType == GType_IHNM) {
flipImage(out_buf, hdr.width, hdr.height);
}