EMI: Fix PlayActorChore() regression.

This commit is contained in:
Giulio Camuffo 2013-01-13 12:00:59 +01:00
parent eb5c89a880
commit 2ee2d0e937

View File

@ -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);