Initial whitespace, formatting, file headers and NULL usage fixes.
This commit is contained in:
@@ -117,7 +117,7 @@ enum GroundVehicleSubtypeFlags {
|
||||
GVSF_ENGINE = 3, ///< Engine that can be front engine, but might be placed behind another engine (not used for road vehicles).
|
||||
GVSF_FREE_WAGON = 4, ///< First in a wagon chain (in depot) (not used for road vehicles).
|
||||
GVSF_MULTIHEADED = 5, ///< Engine is multiheaded (not used for road vehicles).
|
||||
GVSF_VIRTUAL = 6, ///< Used for virtual trains during template design, it is needed to skip checks for tile or depot status
|
||||
GVSF_VIRTUAL = 6, ///< Used for virtual trains during template design, it is needed to skip checks for tile or depot status
|
||||
};
|
||||
|
||||
/** Cached often queried values common to all vehicles. */
|
||||
@@ -517,7 +517,7 @@ public:
|
||||
Money GetDisplayProfitLastYear() const { return (this->profit_last_year >> 8); }
|
||||
|
||||
void SetNext(Vehicle *next);
|
||||
inline void SetFirst(Vehicle *f) { this->first=f; }
|
||||
inline void SetFirst(Vehicle *f) { this->first = f; }
|
||||
|
||||
/**
|
||||
* Get the next vehicle of this vehicle.
|
||||
|
||||
Reference in New Issue
Block a user