Fix crash when loading story mode

This commit is contained in:
Tobias Markus
2015-07-26 16:40:45 +02:00
parent 4356dfde0c
commit fcc3e75a99

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;
}