(svn r20298) -Fix: GetInitialMaxSpeed did not return the correct value for road vehicles.

This commit is contained in:
terkhen
2010-08-02 14:48:13 +00:00
parent da80ebb00d
commit 094841cba3

View File

@@ -262,7 +262,8 @@ protected: // These functions should not be called outside acceleration code.
*/ */
FORCEINLINE uint16 GetInitialMaxSpeed() const FORCEINLINE uint16 GetInitialMaxSpeed() const
{ {
return this->max_speed; /* Road vehicles use a *2 conversion factor. */
return this->max_speed / 2;
} }
/** /**