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:
parent
b54dd0a0b9
commit
79f244b1d3
@ -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)
|
||||||
{
|
{
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user