File diff r26193:4bc7915a2156 → r26194:f7347205838e
src/roadveh.h
Show inline comments
 
@@ -184,6 +184,8 @@ protected: // These functions should not
 
		if (!this->IsArticulatedPart()) {
 
			/* Road vehicle weight is in units of 1/4 t. */
 
			weight += GetVehicleProperty(this, PROP_ROADVEH_WEIGHT, RoadVehInfo(this->engine_type)->weight) / 4;
 
			//DIRTY HACK
 
			if ( !weight ) weight = 1; //at least 1 for realistic accelerate
 
		}
 

	
 
		return weight;