mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-04 18:06:26 +00:00
EMI: Fix PlayActorChore() regression.
This commit is contained in:
parent
eb5c89a880
commit
2ee2d0e937
@ -620,10 +620,6 @@ void Lua_V2::PlayActorChore() {
|
||||
const char *costumeName = lua_getstring(costumeObj);
|
||||
Costume *costume = actor->findCostume(costumeName);
|
||||
|
||||
if (!costume) {
|
||||
costume = actor->getCurrentCostume();
|
||||
}
|
||||
|
||||
if (costume == NULL) {
|
||||
actor->pushCostume(costumeName);
|
||||
costume = actor->findCostume(costumeName);
|
||||
|
Loading…
x
Reference in New Issue
Block a user