{
DCODE(printf("LMLActorObject::setAction(%d)\n", type);)
ActionParser *action = parser->actionContainer[type];
- if (action == NULL) return false;
+ if (action->tag == NULL) return false;
setAction(action);
return true;
{
DCODE(printf("LMLActorObject::setEvent(%d)\n", type);)
EventParser *event = parser->eventContainer[type];
- if (event == NULL) return false;
+ if (event->tag == NULL) return false;
return setEvent(event);
}