Mercurial > hg > openttd
diff src/command.cpp @ 18255:b3cb40aab91b draft
(svn r23091) -Codechange: rename some Get*Z functions to Get*PixelZ functions if they return the Z in pixels (like TilePixelHeight)
author | rubidium <rubidium@openttd.org> |
---|---|
date | Fri, 04 Nov 2011 10:18:13 +0000 |
parents | 9c82695de33e |
children | 1e02b7afbe01 |
line wrap: on
line diff
--- a/src/command.cpp +++ b/src/command.cpp @@ -540,7 +540,7 @@ * the server, when it has cost the local company * something. Furthermore in the editor there is no * concept of cost, so don't show it there either. */ - ShowCostOrIncomeAnimation(x, y, GetSlopeZ(x, y), res.GetCost()); + ShowCostOrIncomeAnimation(x, y, GetSlopePixelZ(x, y), res.GetCost()); } if (!estimate_only && !only_sending && callback != NULL) {