diff options
author | frosch <frosch@openttd.org> | 2010-03-21 11:05:39 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2010-03-21 11:05:39 +0000 |
commit | c049bf3f388438c9901981b1943b35fc3add3e4d (patch) | |
tree | 2bd583c61b01cecbd8ad64c38b68bd16767904a2 /src/newgrf_text.cpp | |
parent | b7b01bb9c703acdf93c36e7212e959b399442d93 (diff) | |
download | openttd-c049bf3f388438c9901981b1943b35fc3add3e4d.tar.xz |
(svn r19497) -Fix: [NewGRF] Bytes and words get sign-extended for temporary/persistent storage. (Spotted by yexo)
Diffstat (limited to 'src/newgrf_text.cpp')
-rw-r--r-- | src/newgrf_text.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_text.cpp b/src/newgrf_text.cpp index 7cb94bd0a..6cf10f1c8 100644 --- a/src/newgrf_text.cpp +++ b/src/newgrf_text.cpp @@ -597,7 +597,7 @@ static TextRefStack *_newgrf_textrefstack = &_newgrf_normal_textrefstack; */ void PrepareTextRefStackUsage(byte numEntries) { - extern TemporaryStorageArray<uint32, 0x110> _temp_store; + extern TemporaryStorageArray<int32, 0x110> _temp_store; _newgrf_textrefstack->ResetStack(); |