diff options
author | whitertandrek | 2018-03-18 14:00:34 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2018-06-28 23:51:32 +0200 |
commit | 1d97b960c5339037bb26d03b7b3e1a2df20b0ecb (patch) | |
tree | 23ba7fbeca34c0991c4c42868890cbaca83befe2 /engines/pink/walk | |
parent | bccb294e6aac585dcb2d0348f277e65d929154eb (diff) | |
download | scummvm-rg350-1d97b960c5339037bb26d03b7b3e1a2df20b0ecb.tar.gz scummvm-rg350-1d97b960c5339037bb26d03b7b3e1a2df20b0ecb.tar.bz2 scummvm-rg350-1d97b960c5339037bb26d03b7b3e1a2df20b0ecb.zip |
PINK: Added missing field to WalkLocation class
Diffstat (limited to 'engines/pink/walk')
-rw-r--r-- | engines/pink/walk/walk_location.cpp | 4 | ||||
-rw-r--r-- | engines/pink/walk/walk_location.h | 4 |
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 |