diff options
author | Gregory Montoir | 2003-12-29 21:15:01 +0000 |
---|---|---|
committer | Gregory Montoir | 2003-12-29 21:15:01 +0000 |
commit | 0dd61a56b496dc77b08a3fa7e60d65f73178b5fc (patch) | |
tree | 8708ce273efbec052b40c0124be132fd68e21197 /queen | |
parent | 5d9b72ad7d7ad596c912dd5ba7cf7bf33c2b0fb0 (diff) | |
download | scummvm-rg350-0dd61a56b496dc77b08a3fa7e60d65f73178b5fc.tar.gz scummvm-rg350-0dd61a56b496dc77b08a3fa7e60d65f73178b5fc.tar.bz2 scummvm-rg350-0dd61a56b496dc77b08a3fa7e60d65f73178b5fc.zip |
invalidate previous dynalum value on re-init (this fixes room <-> journal issues)
svn-id: r12022
Diffstat (limited to 'queen')
-rw-r--r-- | queen/display.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |