aboutsummaryrefslogtreecommitdiff
path: root/engines/pink/walk
diff options
context:
space:
mode:
Diffstat (limited to 'engines/pink/walk')
-rw-r--r--engines/pink/walk/walk_location.cpp4
-rw-r--r--engines/pink/walk/walk_location.h4
2 files changed, 3 insertions, 5 deletions
diff --git a/engines/pink/walk/walk_location.cpp b/engines/pink/walk/walk_location.cpp
index 239c69faba..7bf19eae6e 100644
--- a/engines/pink/walk/walk_location.cpp
+++ b/engines/pink/walk/walk_location.cpp
@@ -25,7 +25,5 @@
void Pink::WalkLocation::deserialize(Pink::Archive &archive) {
NamedObject::deserialize(archive);
- // serialize string array
- //intro has zero, so skip
- assert(archive.readCount() == 0);
+ archive >> _neighbors;
}
diff --git a/engines/pink/walk/walk_location.h b/engines/pink/walk/walk_location.h
index 0ad5adf055..da96a14dfd 100644
--- a/engines/pink/walk/walk_location.h
+++ b/engines/pink/walk/walk_location.h
@@ -24,6 +24,7 @@
#include <engines/pink/object.h>
#include <common/array.h>
+#include <engines/pink/utils.h>
namespace Pink {
@@ -32,8 +33,7 @@ public:
virtual void deserialize(Archive &archive);
private:
-
-
+ StringArray _neighbors;
};
} // End of namespace Pink