From 113887cdf727b07a4767a023b3c47450f3c5415a Mon Sep 17 00:00:00 2001 From: Walter van Niftrik Date: Sun, 29 Jan 2017 23:39:58 +0100 Subject: ADL: Fix hires5 room state restoring --- engines/adl/adl_v4.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'engines') diff --git a/engines/adl/adl_v4.cpp b/engines/adl/adl_v4.cpp index dcf0f997c9..845c343575 100644 --- a/engines/adl/adl_v4.cpp +++ b/engines/adl/adl_v4.cpp @@ -378,8 +378,10 @@ void AdlEngine_v4::backupRoomState(byte room) { void AdlEngine_v4::restoreRoomState(byte room) { const RoomState &backup = getCurRegion().rooms[room - 1]; - getRoom(room).isFirstTime = backup.isFirstTime; - getRoom(room).picture = backup.picture; + if (backup.isFirstTime != 1) { + getRoom(room).curPicture = getRoom(room).picture = backup.picture; + getRoom(room).isFirstTime = false; + } } void AdlEngine_v4::backupVars() { -- cgit v1.2.3