aboutsummaryrefslogtreecommitdiff
path: root/engines/pink/objects/actors
diff options
context:
space:
mode:
authorwhiterandrek2018-05-26 02:27:15 +0300
committerEugene Sandulenko2018-06-28 23:51:32 +0200
commit90864279f4a0761ff43fc9c412b6c76d98a0a019 (patch)
tree9af0d9dbfb1ee8d5ebef7551db234f3a7a6c947c /engines/pink/objects/actors
parent6ba76faa33fcc6f11dd21e49aadea32343476c86 (diff)
downloadscummvm-rg350-90864279f4a0761ff43fc9c412b6c76d98a0a019.tar.gz
scummvm-rg350-90864279f4a0761ff43fc9c412b6c76d98a0a019.tar.bz2
scummvm-rg350-90864279f4a0761ff43fc9c412b6c76d98a0a019.zip
PINK: fixes to save system
Diffstat (limited to 'engines/pink/objects/actors')
-rw-r--r--engines/pink/objects/actors/actor.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/pink/objects/actors/actor.cpp b/engines/pink/objects/actors/actor.cpp
index abcb66502e..a1d179b945 100644
--- a/engines/pink/objects/actors/actor.cpp
+++ b/engines/pink/objects/actors/actor.cpp
@@ -132,9 +132,7 @@ Actor::~Actor() {
}
void Actor::loadState(Archive &archive) {
- Common::String actionName;
- actionName = archive.readString();
- _action = findAction(actionName);
+ _action = findAction(archive.readString());
}
void Actor::saveState(Archive &archive) {