Merge pull request #2252 from tobbi/fix_story_mode_crash
Fix crash when loading story mode
This commit is contained in:
commit
35949b198a
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user