aboutsummaryrefslogtreecommitdiff
path: root/engines/dreamweb/saveload.cpp
diff options
context:
space:
mode:
authorBertrand Augereau2011-11-17 11:34:06 +0100
committerBertrand Augereau2011-11-17 12:38:17 +0100
commitfc7a36d911341d960fcd9c2d890b1dc2362c5f35 (patch)
treeccd45d0955c291e1a58c6924629a310178ea76cf /engines/dreamweb/saveload.cpp
parentdb7184668dfec0d09460f6bc345faaa43d036bb6 (diff)
downloadscummvm-rg350-fc7a36d911341d960fcd9c2d890b1dc2362c5f35.tar.gz
scummvm-rg350-fc7a36d911341d960fcd9c2d890b1dc2362c5f35.tar.bz2
scummvm-rg350-fc7a36d911341d960fcd9c2d890b1dc2362c5f35.zip
DREAMWEB: Cleaning in room loading
Diffstat (limited to 'engines/dreamweb/saveload.cpp')
-rw-r--r--engines/dreamweb/saveload.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/dreamweb/saveload.cpp b/engines/dreamweb/saveload.cpp
index f68ec86ddf..02a128837b 100644
--- a/engines/dreamweb/saveload.cpp
+++ b/engines/dreamweb/saveload.cpp
@@ -162,8 +162,8 @@ void DreamGenContext::doload() {
dx = data;
es = dx;
- bx = kMadeuproomdat;
- startloading();
+ const Room *room = (Room *)cs.ptr(kMadeuproomdat, sizeof(Room));
+ startloading(room);
loadroomssample();
data.byte(kRoomloaded) = 1;
data.byte(kNewlocation) = 255;