diff options
author | tron <tron@openttd.org> | 2006-05-09 09:56:09 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2006-05-09 09:56:09 +0000 |
commit | c9defc0fea20dc900c0c6d3f8aac8984b024052f (patch) | |
tree | 559b2b4b3e046cf2cb59f9c2eacbb8ea4f57cbb5 /functions.h | |
parent | e5bd292dabdf5bbf58e5ce83c13688bbe047a62a (diff) | |
download | openttd-c9defc0fea20dc900c0c6d3f8aac8984b024052f.tar.xz |
(svn r4790) Remove slope magic from EnsureNoVehicleZ() and rename it to EnsureNoVehicleOnGround() to make more clear what it does
Diffstat (limited to 'functions.h')
-rw-r--r-- | functions.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/functions.h b/functions.h index 3d47bca61..11730800c 100644 --- a/functions.h +++ b/functions.h @@ -193,9 +193,8 @@ bool ScrollWindowTo(int x, int y, Window * w); bool ScrollMainWindowToTile(TileIndex tile); bool ScrollMainWindowTo(int x, int y); void DrawSprite(uint32 img, int x, int y); -uint GetCorrectTileHeight(TileIndex tile); bool EnsureNoVehicle(TileIndex tile); -bool EnsureNoVehicleZ(TileIndex tile, byte z); +bool EnsureNoVehicleOnGround(TileIndex tile); void MarkAllViewportsDirty(int left, int top, int right, int bottom); void ShowCostOrIncomeAnimation(int x, int y, int z, int32 cost); void ShowFeederIncomeAnimation(int x, int y, int z, int32 cost); |