aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2008-03-20 10:11:57 +0000
committerJohannes Schickel2008-03-20 10:11:57 +0000
commit93a10bd0bdd60b059bad0a50bf1b4c197a95aaba (patch)
tree80dae958fee0032d49380cb2484fa5c9cdd1eac0
parent24fe9e42d765528529d48192bdbd6369e1082c9f (diff)
downloadscummvm-rg350-93a10bd0bdd60b059bad0a50bf1b4c197a95aaba.tar.gz
scummvm-rg350-93a10bd0bdd60b059bad0a50bf1b4c197a95aaba.tar.bz2
scummvm-rg350-93a10bd0bdd60b059bad0a50bf1b4c197a95aaba.zip
Fixed cauldron/spellbook graphics on savegame load.
svn-id: r31197
-rw-r--r--engines/kyra/saveload_v2.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/kyra/saveload_v2.cpp b/engines/kyra/saveload_v2.cpp
index 5087db9591..c474bacad3 100644
--- a/engines/kyra/saveload_v2.cpp
+++ b/engines/kyra/saveload_v2.cpp
@@ -236,6 +236,11 @@ void KyraEngine_v2::loadGame(const char *fileName) {
if (loadedZTable != _loadedZTable)
loadZShapes(_loadedZTable);
+ _screen->loadBitmap("_PLAYFLD.CPS", 3, 3, 0);
+ if (!queryGameFlag(1))
+ _screen->copyRegion(0xCE, 0x90, 0xCE, 0x90, 0x2C, 0x2C, 2, 0, Screen::CR_NO_P_CHECK);
+ if (!queryGameFlag(2))
+ _screen->copyRegion(0xFA, 0x90, 0xFA, 0x90, 0x46, 0x2C, 2, 0, Screen::CR_NO_P_CHECK);
_screen->loadBitmap("_PLAYALL.CPS", 3, 3, 0);
if (queryGameFlag(1))
_screen->copyRegion(0xCE, 0x90, 0xCE, 0x90, 0x2C, 0x2C, 2, 0, Screen::CR_NO_P_CHECK);