aboutsummaryrefslogtreecommitdiff
path: root/engines/dreamweb/object.cpp
diff options
context:
space:
mode:
authorMax Horn2011-12-20 11:33:09 +0100
committerMax Horn2011-12-23 10:18:02 +0100
commitb2fcdd6c86fb341695d32afded114fecbe5d7590 (patch)
tree5d0156625eb494461eda7ed1b13029954d588116 /engines/dreamweb/object.cpp
parentb6e139d112b08d9280c145ae40f6324be6707efe (diff)
downloadscummvm-rg350-b2fcdd6c86fb341695d32afded114fecbe5d7590.tar.gz
scummvm-rg350-b2fcdd6c86fb341695d32afded114fecbe5d7590.tar.bz2
scummvm-rg350-b2fcdd6c86fb341695d32afded114fecbe5d7590.zip
DREAMWEB: Move rest of saveload.cpp to DreamBase
Diffstat (limited to 'engines/dreamweb/object.cpp')
-rw-r--r--engines/dreamweb/object.cpp25
1 files changed, 0 insertions, 25 deletions
diff --git a/engines/dreamweb/object.cpp b/engines/dreamweb/object.cpp
index 6aa1364002..207f4889db 100644
--- a/engines/dreamweb/object.cpp
+++ b/engines/dreamweb/object.cpp
@@ -631,31 +631,6 @@ void DreamGenContext::outOfInv() {
delPointer();
}
-void DreamBase::resetLocation(uint8 index) {
- if (index == 5) {
- // delete hotel
- purgeALocation(5);
- purgeALocation(21);
- purgeALocation(22);
- purgeALocation(27);
- } else if (index == 8) {
- // delete TV studio
- purgeALocation(8);
- purgeALocation(28);
- } else if (index == 6) {
- // delete sarters
- purgeALocation(6);
- purgeALocation(20);
- purgeALocation(25);
- } else if (index == 13) {
- // delete boathouse
- purgeALocation(13);
- purgeALocation(29);
- }
-
- data.byte(kRoomscango + index) = 0;
-}
-
void DreamBase::purgeALocation(uint8 index) {
// index == al
for (uint8 i = 0; i < kNumexobjects; ++i) {