From 2fb8a8e45369b000b9f36d2433425ca48f6d9d13 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Wed, 22 Dec 2004 13:09:47 +0000 Subject: 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 --- saga/sprite.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'saga/sprite.cpp') diff --git a/saga/sprite.cpp b/saga/sprite.cpp index fabdf8a06f..db75a18ea0 100644 --- a/saga/sprite.cpp +++ b/saga/sprite.cpp @@ -24,7 +24,6 @@ // Sprite management module #include "saga/saga.h" -#include "saga/game_mod.h" #include "saga/gfx.h" #include "saga/scene.h" #include "saga/rscfile_mod.h" @@ -41,7 +40,7 @@ Sprite::Sprite(SagaEngine *vm) : _vm(vm), _initialized(false) { debug(0, "Initializing sprite subsystem..."); // Load sprite module resource context - _spriteContext = GAME_GetFileContext(GAME_RESOURCEFILE, 0); + _spriteContext = _vm->getFileContext(GAME_RESOURCEFILE, 0); if (_spriteContext == NULL) { return; } -- cgit v1.2.3