From 0dd61a56b496dc77b08a3fa7e60d65f73178b5fc Mon Sep 17 00:00:00 2001 From: Gregory Montoir Date: Mon, 29 Dec 2003 21:15:01 +0000 Subject: invalidate previous dynalum value on re-init (this fixes room <-> journal issues) svn-id: r12022 --- queen/display.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'queen/display.cpp') diff --git a/queen/display.cpp b/queen/display.cpp index da2b99dfea..1f1b8364ac 100644 --- a/queen/display.cpp +++ b/queen/display.cpp @@ -141,6 +141,7 @@ void Display::dynalumInit(const char *roomName, uint16 roomNum) { memset(_dynalum.msk, 0, sizeof(_dynalum.msk)); memset(_dynalum.lum, 0, sizeof(_dynalum.lum)); _dynalum.valid = false; + _dynalum.prevColMask = 0xFF; if (!(IS_ALT_INTRO_ROOM(roomNum) || IS_CD_INTRO_ROOM(roomNum))) { char filename[20]; @@ -181,7 +182,6 @@ void Display::dynalumUpdate(int16 x, int16 y) { uint8 colMask = _dynalum.msk[offset]; debug(9, "Display::dynalumUpdate(%d, %d) - colMask = %d", x, y, colMask); - if (colMask != _dynalum.prevColMask) { uint8 i; for (i = 144; i < 160; ++i) { -- cgit v1.2.3