mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-08 00:37:15 +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)
|
||||
{
|
||||
|
@ -477,7 +477,7 @@ Int32 GetAutomobileID(StackStrF & name)
|
||||
// [Ph]oenix
|
||||
case 'h': return SQMOD_VEHICLE_PHOENIX;
|
||||
// [Pi]zza Boy
|
||||
case 'i':
|
||||
case 'i': return SQMOD_VEHICLE_PIZZABOY;
|
||||
// [Po]lice
|
||||
// [Po]lice Maverick
|
||||
// [Po]ny
|
||||
|
Loading…
Reference in New Issue
Block a user