From b5369ea9d714798731822fd74a37a68ed9b9281e Mon Sep 17 00:00:00 2001
From: r4sheed <25135303+r4sheed@users.noreply.github.com>
Date: Wed, 4 Oct 2023 21:22:09 +0200
Subject: [PATCH] Update omp_vehicle.inc
---
omp_vehicle.inc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/omp_vehicle.inc b/omp_vehicle.inc
index 8892645..7f62d02 100644
--- a/omp_vehicle.inc
+++ b/omp_vehicle.inc
@@ -51,7 +51,7 @@ const INVALID_VEHICLE_ID = 0xFFFF;
* omp_vehicle
*/
#define VEHICLE_MODEL: __TAG(VEHICLE_MODEL):
-enum VEHICLE_MODEL:__VEHICLE_MODELS
+enum VEHICLE_MODEL:MAX_VEHICLE_MODELS
{
VEHICLE_MODEL_UNKNOWN = 0,
VEHICLE_MODEL_LANDSTAL = 400,
@@ -390,7 +390,7 @@ enum VEHICLE_MODEL:__VEHICLE_MODELS
VEHICLE_MODEL_UTILITYTRAILER = 611,
VEHICLE_MODEL_UTILITY_TRAILER = VEHICLE_MODEL_UTILITYTRAILER
}
-static stock VEHICLE_MODEL:_@VEHICLE_MODEL() { return __VEHICLE_MODELS; }
+static stock VEHICLE_MODEL:_@VEHICLE_MODEL() { return MAX_VEHICLE_MODELS; }
/**
* omp_vehicle