diff options
Diffstat (limited to 'src/vehicle_base.h')
-rw-r--r-- | src/vehicle_base.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vehicle_base.h b/src/vehicle_base.h index b167ebc12..1e94d9e75 100644 --- a/src/vehicle_base.h +++ b/src/vehicle_base.h @@ -639,7 +639,7 @@ struct SpecializedVehicle : public Vehicle { */ static FORCEINLINE T *GetIfValid(size_t index) { - return IsValidID(index) ? Get(index) : NULL ; + return IsValidID(index) ? Get(index) : NULL; } /** @@ -690,7 +690,7 @@ struct DisasterVehicle : public SpecializedVehicle<DisasterVehicle, VEH_DISASTER struct FreeUnitIDGenerator { bool *cache; ///< array of occupied unit id numbers UnitID maxid; ///< maximum ID at the moment of constructor call - UnitID curid; ///< last ID returned ; 0 if none + UnitID curid; ///< last ID returned; 0 if none /** Initializes the structure. Vehicle unit numbers are supposed not to change after * struct initialization, except after each call to this->NextID() the returned value |