From 1ba4f0a1a8965ee141987693770d2bcd3b74c292 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Mon, 26 Dec 2011 22:31:50 +0200 Subject: Revert "DREAMWEB: Remove dead code and move most functions to DreamBase" This reverts commit 4c66f74b58e9a2c191f22a37f485047dd19be131. These functions aren't ready to be moved yet till the remaining two are finished, and they're so crossreferenced that the safest thing to do is revert this commit and break it down to smaller chunks --- engines/dreamweb/use.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'engines/dreamweb/use.cpp') diff --git a/engines/dreamweb/use.cpp b/engines/dreamweb/use.cpp index 0f31c766b5..25ed8d50e5 100644 --- a/engines/dreamweb/use.cpp +++ b/engines/dreamweb/use.cpp @@ -1494,7 +1494,7 @@ void DreamBase::useAxe() { removeObFromInv(); } -void DreamBase::useKey() { +void DreamGenContext::useKey() { switch(data.byte(kLocation)) { case 5: case 30: @@ -1512,6 +1512,7 @@ void DreamBase::useKey() { if (data.byte(kMapx) == 11 && data.byte(kMapy) == 10) { showPuzText(3, 300); data.byte(kNewlocation) = 30; + al = 2; fadeScreenDown(); showFirstUse(); putBackObStuff(); -- cgit v1.2.3