summaryrefslogtreecommitdiff
path: root/src/vehicle_base.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-11-29 19:20:39 +0000
committerrubidium <rubidium@openttd.org>2009-11-29 19:20:39 +0000
commit2e2f72b971a2365518bd9623aedfd64b53d0612c (patch)
tree7389f6dd1ab47d5c8cd79df1730b23980e087896 /src/vehicle_base.h
parent2784f15304cd329bb7288aa54fb338f8bb335c3b (diff)
downloadopenttd-2e2f72b971a2365518bd9623aedfd64b53d0612c.tar.xz
(svn r18342) -Fix: erroneous spaces before ;
Diffstat (limited to 'src/vehicle_base.h')
-rw-r--r--src/vehicle_base.h4
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