mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-18 07:53:12 +00:00
CGE: Fix bug #3557904 - Shadow at wrong position
This commit is contained in:
parent
6e14e97670
commit
6472ef86bb
@ -207,7 +207,7 @@ bool CGEEngine::loadGame(int slotNumber, SavegameHeader *header, bool tiny) {
|
||||
readStream = new Common::MemoryReadStream(dataBuffer, size, DisposeAfterUse::YES);
|
||||
|
||||
} else {
|
||||
// Open up the savgame file
|
||||
// Open up the savegame file
|
||||
Common::String slotName = generateSaveName(slotNumber);
|
||||
Common::InSaveFile *saveFile = g_system->getSavefileManager()->openForLoading(slotName);
|
||||
|
||||
@ -316,8 +316,8 @@ Common::Error CGEEngine::saveGameState(int slot, const Common::String &desc) {
|
||||
// Reload the scene
|
||||
sceneUp();
|
||||
|
||||
_hero->_x = x;
|
||||
_hero->_y = y;
|
||||
// Restore player position
|
||||
_hero->gotoxy(x, y);
|
||||
_hero->_z = z;
|
||||
|
||||
return Common::kNoError;
|
||||
|
Loading…
x
Reference in New Issue
Block a user