@@ -96,13 +96,13 @@ static void UpdateElement(StoryPageEleme
switch (pe.type) {
case SPET_TEXT:
pe.text = text;
break;
case SPET_LOCATION:
pe.referenced_id = tile;
pe.referenced_id = static_cast<uint32_t>(tile);
case SPET_GOAL:
pe.referenced_id = (GoalID)reference;
case SPET_BUTTON_PUSH:
case SPET_BUTTON_TILE: