From 284a1c887959ba17a14af625da6cced5c1c45330 Mon Sep 17 00:00:00 2001 From: James Brown Date: Wed, 8 May 2002 10:33:30 +0000 Subject: [PATCH] Add oldRoomEffect needed for Zak256 ending svn-id: r4245 --- script_v1.cpp | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/script_v1.cpp b/script_v1.cpp index daae2c75a2b..c45cb8107e1 100644 --- a/script_v1.cpp +++ b/script_v1.cpp @@ -2761,8 +2761,15 @@ void Scumm::o5_oldRoomEffect() _opcode = fetchScriptByte(); if ((_opcode & 0x1F) == 3) { a = getVarOrDirectWord(0x80); - } - warning("Unsupported oldRoomEffect"); + switch(a) { + case 4: + _fullRedraw =true; + break; + default: + warning("Unsupported oldRoomEffect %d", a); + break; + } + } } void Scumm::o5_pickupObjectOld()