Codechange: use INVALID_VEHICLE where that's more appropriate than e.g. vehicle 0

This commit is contained in:
Rubidium
2025-01-19 16:09:51 +01:00
committed by rubidium42
parent ff8c748bf5
commit b71a5158cf
5 changed files with 6 additions and 6 deletions

View File

@@ -93,7 +93,7 @@ public:
VS_INVALID = 0xFF, ///< An invalid vehicle state.
};
static const VehicleID VEHICLE_INVALID = 0xFFFFF; ///< Invalid VehicleID.
static const VehicleID VEHICLE_INVALID = ::INVALID_VEHICLE; ///< Invalid VehicleID.
/**
* Checks whether the given vehicle is valid and owned by you.