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

Merge pull request #39 from Xmair/master

Update Weapon.cpp
This commit is contained in:
Sandu Liviu Catalin
2018-09-22 13:26:48 +03:00
committed by GitHub

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