diff options
Diffstat (limited to 'engines/dreamweb/saveload.cpp')
-rw-r--r-- | engines/dreamweb/saveload.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/dreamweb/saveload.cpp b/engines/dreamweb/saveload.cpp index 17c05cd5c3..5cff4533d6 100644 --- a/engines/dreamweb/saveload.cpp +++ b/engines/dreamweb/saveload.cpp @@ -112,8 +112,8 @@ void DreamGenContext::doLoad() { dx = data; es = dx; - const Room *room = (Room *)cs.ptr(kMadeuproomdat, sizeof(Room)); - startLoading(room); + const Room *room = (const Room *)cs.ptr(kMadeuproomdat, sizeof(Room)); + startLoading(*room); loadRoomsSample(); data.byte(kRoomloaded) = 1; data.byte(kNewlocation) = 255; |