diff --git a/src/newgrf_text.cpp b/src/newgrf_text.cpp index 1f1c78bef4..030bee4a4c 100644 --- a/src/newgrf_text.cpp +++ b/src/newgrf_text.cpp @@ -711,7 +711,7 @@ struct TextRefStack { uint16_t val = this->PopUnsignedByte(); return val | (this->PopUnsignedByte() << 8); } - int16_t PopSignedWord() { return static_cast(this->PopUnsignedWord()); } + int16_t PopSignedWord() { return static_cast(this->PopUnsignedWord()); } uint32_t PopUnsignedDWord() {