(svn r10301) -Fix [FS#901, YAPF]: another assert violation in some special cases (immeR)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user