summaryrefslogtreecommitdiff
path: root/src/station_cmd.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-11-04 11:52:19 +0000
committerrubidium <rubidium@openttd.org>2011-11-04 11:52:19 +0000
commit2a2c102b0b173d6ebcfb90291eb56e82c4e935a7 (patch)
treeeea14ef6e9fcafd4cb4fb4a1a4aec8cbf1f928b7 /src/station_cmd.cpp
parent459c9523e8acdf314ce697460f4768eec228daac (diff)
downloadopenttd-2a2c102b0b173d6ebcfb90291eb56e82c4e935a7.tar.xz
(svn r23108) -Codechange: more uint -> int / byte -> int conversions for Z related variables
Diffstat (limited to 'src/station_cmd.cpp')
-rw-r--r--src/station_cmd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp
index de018f491..00152246c 100644
--- a/src/station_cmd.cpp
+++ b/src/station_cmd.cpp
@@ -306,8 +306,8 @@ static StringID GenerateStationName(Station *st, TileIndex tile, StationNaming n
}
/* check elevation compared to town */
- uint z = GetTileZ(tile);
- uint z2 = GetTileZ(t->xy);
+ int z = GetTileZ(tile);
+ int z2 = GetTileZ(t->xy);
if (z < z2) {
if (HasBit(free_names, M(STR_SV_STNAME_VALLEY))) return STR_SV_STNAME_VALLEY;
} else if (z > z2) {