From 1d97b960c5339037bb26d03b7b3e1a2df20b0ecb Mon Sep 17 00:00:00 2001 From: whitertandrek Date: Sun, 18 Mar 2018 14:00:34 +0200 Subject: PINK: Added missing field to WalkLocation class --- engines/pink/walk/walk_location.cpp | 4 +--- engines/pink/walk/walk_location.h | 4 ++-- 2 files changed, 3 insertions(+), 5 deletions(-) (limited to 'engines/pink/walk') 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 #include +#include namespace Pink { @@ -32,8 +33,7 @@ public: virtual void deserialize(Archive &archive); private: - - + StringArray _neighbors; }; } // End of namespace Pink -- cgit v1.2.3