1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-02-22 20:57:12 +01:00

Missed return for SQMOD_VEHICLE_PIZZABOY in vehicle identification (reported by @Xmair).

This commit is contained in:
Sandu Liviu Catalin 2019-05-07 17:49:13 +03:00
parent b54dd0a0b9
commit 79f244b1d3
2 changed files with 2 additions and 2 deletions

View File

@ -100,7 +100,7 @@ static inline CCStr GetLevelTag(Uint8 level)
} }
/* ------------------------------------------------------------------------------------------------ /* ------------------------------------------------------------------------------------------------
* Identify the message prefix. * Logging level to callback index.
*/ */
static inline Uint8 GetLevelIdx(Uint8 level) static inline Uint8 GetLevelIdx(Uint8 level)
{ {

View File

@ -477,7 +477,7 @@ Int32 GetAutomobileID(StackStrF & name)
// [Ph]oenix // [Ph]oenix
case 'h': return SQMOD_VEHICLE_PHOENIX; case 'h': return SQMOD_VEHICLE_PHOENIX;
// [Pi]zza Boy // [Pi]zza Boy
case 'i': case 'i': return SQMOD_VEHICLE_PIZZABOY;
// [Po]lice // [Po]lice
// [Po]lice Maverick // [Po]lice Maverick
// [Po]ny // [Po]ny