Merge pull request #2252 from tobbi/fix_story_mode_crash

Fix crash when loading story mode
This commit is contained in:
auriamg 2015-07-26 19:06:20 -04:00
commit 35949b198a

View File

@ -940,7 +940,7 @@ TrackObjectPresentationActionTrigger::TrackObjectPresentationActionTrigger(
std::string trigger_type;
xml_node.get("trigger-type", &trigger_type);
if (trigger_type == "point")
if (trigger_type == "point" || trigger_type.empty())
{
m_type = TRIGGER_TYPE_POINT;
}