diff options
author | rubidium <rubidium@openttd.org> | 2011-11-04 11:09:06 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2011-11-04 11:09:06 +0000 |
commit | f01b3e2721a5085b7cbae253e04b46a3338d3f43 (patch) | |
tree | e1057e5205dfca90fc002f5b0f4d92e3400e1573 /src/landscape.cpp | |
parent | a72544d5e18a632510c8072b393905473f47bada (diff) | |
download | openttd-f01b3e2721a5085b7cbae253e04b46a3338d3f43.tar.xz |
(svn r23104) -Codechange: prepare the vehicle/sign z for some further changes to reduce casting
Diffstat (limited to 'src/landscape.cpp')
-rw-r--r-- | src/landscape.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/landscape.cpp b/src/landscape.cpp index d0562e3aa..1c06bb7c7 100644 --- a/src/landscape.cpp +++ b/src/landscape.cpp @@ -274,7 +274,7 @@ uint GetPartialPixelZ(int x, int y, Slope corners) return z; } -uint GetSlopePixelZ(int x, int y) +int GetSlopePixelZ(int x, int y) { TileIndex tile = TileVirtXY(x, y); |