summaryrefslogtreecommitdiff
path: root/src/script
diff options
context:
space:
mode:
Diffstat (limited to 'src/script')
-rw-r--r--src/script/api/script_story_page.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/script/api/script_story_page.cpp b/src/script/api/script_story_page.cpp
index 8fda69e6f..4ee90e218 100644
--- a/src/script/api/script_story_page.cpp
+++ b/src/script/api/script_story_page.cpp
@@ -119,16 +119,16 @@ static inline bool StoryPageElementTypeRequiresText(StoryPageElementType type)
uint32 refid = 0;
TileIndex reftile = 0;
switch (type) {
- case SPET_LOCATION:
+ case ::SPET_LOCATION:
reftile = reference;
break;
- case SPET_GOAL:
- case SPET_BUTTON_PUSH:
- case SPET_BUTTON_TILE:
- case SPET_BUTTON_VEHICLE:
+ case ::SPET_GOAL:
+ case ::SPET_BUTTON_PUSH:
+ case ::SPET_BUTTON_TILE:
+ case ::SPET_BUTTON_VEHICLE:
refid = reference;
break;
- case SPET_TEXT:
+ case ::SPET_TEXT:
break;
default:
NOT_REACHED();