1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-07-17 14:27: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; else if (b == 't') return SQMOD_WEAPON_STUBBY;
// [Su]icide // [Su]icide
else if (b == 'u') return SQMOD_WEAPON_SUICIDE; else if (b == 'u') return SQMOD_WEAPON_SUICIDE;
// Pump action [Sh]otgun
else if (b == 'h') return SQMOD_WEAPON_SHOTGUN;
// Default to unknwon // Default to unknwon
else return SQMOD_UNKNOWN; else return SQMOD_UNKNOWN;
// [T]ear Gas // [T]ear Gas