summaryrefslogtreecommitdiff
path: root/src/newgrf_text.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/newgrf_text.cpp')
-rw-r--r--src/newgrf_text.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_text.cpp b/src/newgrf_text.cpp
index 9cb1c1898..596f11e87 100644
--- a/src/newgrf_text.cpp
+++ b/src/newgrf_text.cpp
@@ -882,7 +882,7 @@ struct TextRefStack {
byte position;
bool used;
- TextRefStack() : used(false) {}
+ TextRefStack() : position(0), used(false) {}
TextRefStack(const TextRefStack &stack) :
position(stack.position),