summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-06-13 08:27:12 +0000
committerrubidium <rubidium@openttd.org>2011-06-13 08:27:12 +0000
commit52e40e7cbd429c9ed7e01cb81e0bda552c4b6c4d (patch)
treebf853e4ef36bf6572c93b30ad052ec63d550a3db /src
parentdc74518b96315f5d5f1f35a2c2025c1918d432b9 (diff)
downloadopenttd-52e40e7cbd429c9ed7e01cb81e0bda552c4b6c4d.tar.xz
(svn r22578) -Fix: another MSVC compile warning
Diffstat (limited to 'src')
-rw-r--r--src/newgrf_commons.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_commons.cpp b/src/newgrf_commons.cpp
index c8ad3c74a..c26b5167f 100644
--- a/src/newgrf_commons.cpp
+++ b/src/newgrf_commons.cpp
@@ -536,7 +536,7 @@ uint32 NewGRFSpriteLayout::PrepareLayout(uint32 orig_offset, uint32 newgrf_groun
result->image = ground;
result->delta_x = 0;
result->delta_y = 0;
- result->delta_z = 0x80;
+ result->delta_z = (int8)0x80;
const DrawTileSeqStruct *dtss;
foreach_draw_tile_seq(dtss, this->seq) {