diff options
author | whiterandrek | 2018-05-26 02:27:15 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2018-06-28 23:51:32 +0200 |
commit | 90864279f4a0761ff43fc9c412b6c76d98a0a019 (patch) | |
tree | 9af0d9dbfb1ee8d5ebef7551db234f3a7a6c947c /engines/pink/objects/actors | |
parent | 6ba76faa33fcc6f11dd21e49aadea32343476c86 (diff) | |
download | scummvm-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.cpp | 4 |
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) { |