summaryrefslogtreecommitdiff
path: root/vehicle.h
diff options
context:
space:
mode:
Diffstat (limited to 'vehicle.h')
-rw-r--r--vehicle.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/vehicle.h b/vehicle.h
index baeccd70c..c02a319fd 100644
--- a/vehicle.h
+++ b/vehicle.h
@@ -430,7 +430,9 @@ static inline Vehicle *GetFirstVehicleFromSharedList(Vehicle *v)
VARDEF VehicleID _new_vehicle_id;
VARDEF uint16 _returned_refit_capacity;
-#define INVALID_VEHICLE 0xFFFF
+enum {
+ INVALID_VEHICLE = 0xFFFF,
+};
/**
* Get the colour map for an engine. This used for unbuilt engines in the user interface.