Merge branch 'master' into jgrpp
# Conflicts: # source.list # src/blitter/32bpp_anim.cpp # src/linkgraph/linkgraphjob.cpp # src/order_cmd.cpp # src/vehicle.cpp # src/vehicle_type.h
This commit is contained in:
@@ -140,7 +140,7 @@ int GroundVehicle<T, Type>::GetAcceleration()
|
||||
|
||||
/* Power is stored in HP, we need it in watts.
|
||||
* Each vehicle can have U16 power, 128 vehicles, HP -> watt
|
||||
* and km/h to m/s conversion below result in a maxium of
|
||||
* and km/h to m/s conversion below result in a maximum of
|
||||
* about 1.1E11, way more than 4.3E9 of int32. */
|
||||
int64 power = this->gcache.cached_power * 746ll;
|
||||
|
||||
|
Reference in New Issue
Block a user