diff options
author | Simei Yin | 2017-07-21 14:00:24 +0200 |
---|---|---|
committer | Simei Yin | 2017-07-21 14:00:24 +0200 |
commit | a1be6d4209ce5c0ce8bd3d954de53fdeb3274cc9 (patch) | |
tree | 1298c36bbd58f92ad0857b60082dbf5cae3d0beb /engines/sludge/builtin.cpp | |
parent | 5c853fbd65cdaefd4cce51c95d97fad9064acbe6 (diff) | |
download | scummvm-rg350-a1be6d4209ce5c0ce8bd3d954de53fdeb3274cc9.tar.gz scummvm-rg350-a1be6d4209ce5c0ce8bd3d954de53fdeb3274cc9.tar.bz2 scummvm-rg350-a1be6d4209ce5c0ce8bd3d954de53fdeb3274cc9.zip |
SLUDGE: Move sprite bank to graphics manager
Diffstat (limited to 'engines/sludge/builtin.cpp')
-rw-r--r-- | engines/sludge/builtin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sludge/builtin.cpp b/engines/sludge/builtin.cpp index a27fcb4153..01d58a0815 100644 --- a/engines/sludge/builtin.cpp +++ b/engines/sludge/builtin.cpp @@ -875,7 +875,7 @@ builtIn(anim) { trimStack(fun->stack); // Load the required sprite bank - LoadedSpriteBank *sprBanky = loadBankForAnim(fileNumber); + LoadedSpriteBank *sprBanky = g_sludge->_gfxMan->loadBankForAnim(fileNumber); if (!sprBanky) return BR_ERROR; // File not found, fatal done already setBankFile(ba, sprBanky); |