diff options
author | rubidium <rubidium@openttd.org> | 2011-11-04 10:18:13 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2011-11-04 10:18:13 +0000 |
commit | 7757a2ed406996be35c7179185f2e4e7cba37e12 (patch) | |
tree | ccf4b25e4efba9fee88cfb65ccabd68972c09400 /src/roadveh.h | |
parent | 47203dbeb5080a5d24131a61ec12d1d3164bcb42 (diff) | |
download | openttd-7757a2ed406996be35c7179185f2e4e7cba37e12.tar.xz |
(svn r23091) -Codechange: rename some Get*Z functions to Get*PixelZ functions if they return the Z in pixels (like TilePixelHeight)
Diffstat (limited to 'src/roadveh.h')
-rw-r--r-- | src/roadveh.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/roadveh.h b/src/roadveh.h index fbc865636..06139a426 100644 --- a/src/roadveh.h +++ b/src/roadveh.h @@ -268,13 +268,13 @@ protected: // These functions should not be called outside acceleration code. } /** - * Road vehicles have to use GetSlopeZ() to compute their height + * Road vehicles have to use GetSlopePixelZ() to compute their height * if they are reversing because in that case, their direction * is not parallel with the road. It is safe to return \c true * even if it is not reversing. * @return are we (possibly) reversing? */ - FORCEINLINE bool HasToUseGetSlopeZ() + FORCEINLINE bool HasToUseGetSlopePixelZ() { const RoadVehicle *rv = this->First(); |