From 90864279f4a0761ff43fc9c412b6c76d98a0a019 Mon Sep 17 00:00:00 2001 From: whiterandrek Date: Sat, 26 May 2018 02:27:15 +0300 Subject: PINK: fixes to save system --- engines/pink/objects/actors/actor.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'engines/pink/objects/actors') 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) { -- cgit v1.2.3