Change zak room color remapping, so it work correctly after load/save in room with remapped colors.

svn-id: r9905
This commit is contained in:
Travis Howell 2003-08-29 06:46:12 +00:00
parent ed698cb635
commit 33f9cb35a3
3 changed files with 7 additions and 1 deletions

View file

@ -1946,6 +1946,10 @@ void Scumm::initRoomSubBlocks() {
if (!roomptr || !roomResPtr)
error("Room %d: data not found (" __FILE__ ":%d)", _roomResource, __LINE__);
// Reset room color for V1 zak
if (_version == 1)
_roomPalette[0] = 0;
//
// Determine the room dimensions (width/height)
//