diff options
author | KUDr <kudr@openttd.org> | 2007-06-24 13:18:54 +0000 |
---|---|---|
committer | KUDr <kudr@openttd.org> | 2007-06-24 13:18:54 +0000 |
commit | ef4c335cb4cffa16660944e16e2f1485b1b2188b (patch) | |
tree | 42cac90210571c53b0b0022f4126869724020aae /src/yapf/follow_track.hpp | |
parent | c600158c1df336153eb6705eded718f0434fee75 (diff) | |
download | openttd-ef4c335cb4cffa16660944e16e2f1485b1b2188b.tar.xz |
(svn r10301) -Fix [FS#901, YAPF]: another assert violation in some special cases (immeR)
Diffstat (limited to 'src/yapf/follow_track.hpp')
-rw-r--r-- | src/yapf/follow_track.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yapf/follow_track.hpp b/src/yapf/follow_track.hpp index ea02a9330..0f8f780e5 100644 --- a/src/yapf/follow_track.hpp +++ b/src/yapf/follow_track.hpp @@ -252,7 +252,7 @@ protected: public: /** Helper for pathfinders - get min/max speed on the m_old_tile/m_old_td */ - int GetSpeedLimit(int *pmin_speed = NULL) + int GetSpeedLimit(int *pmin_speed = NULL) const { int min_speed = 0; int max_speed = INT_MAX; // no limit |