(svn r20299) -Add: Make trains and road vehicles use a different area value to calculate air drag.

This commit is contained in:
terkhen
2010-08-02 14:49:23 +00:00
parent 14d58e9978
commit 1fd66d7cc4
4 changed files with 20 additions and 1 deletions

View File

@@ -107,7 +107,7 @@ int GroundVehicle<T, Type>::GetAcceleration() const
bool maglev = v->GetAccelerationType() == 2;
const int area = 120;
const int area = v->GetAirDragArea();
if (!maglev) {
resistance = (13 * mass) / 10;
resistance += this->acc_cache.cached_axle_resistance;