1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-07-16 13:57:11 +02:00

Update Weapon.cpp

This commit is contained in:
Xmair
2018-09-22 11:48:33 +05:00
committed by GitHub
parent 976d1f4442
commit 4de4d045f7

View File

@ -288,6 +288,8 @@ Int32 GetWeaponID(const StackStrF & name)
else if (b == 't') return SQMOD_WEAPON_STUBBY;
// [Su]icide
else if (b == 'u') return SQMOD_WEAPON_SUICIDE;
// Pump action [Sh]otgun
else if (b == 'h') return SQMOD_WEAPON_SHOTGUN;
// Default to unknwon
else return SQMOD_UNKNOWN;
// [T]ear Gas