mp_free_armor small fix (#685)

This commit is contained in:
Alejo 2021-10-14 10:10:16 -03:00 committed by GitHub
parent dd243eaa0b
commit c6187f3dc7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10009,8 +10009,8 @@ void EXT_FUNC CBasePlayer::__API_HOOK(OnSpawnEquip)(bool addDefault, bool equipG
{ {
switch (static_cast<ArmorType>((int)free_armor.value)) switch (static_cast<ArmorType>((int)free_armor.value))
{ {
case ARMOR_KEVLAR: GiveNamedItem("item_kevlar"); break; case ARMOR_KEVLAR: GiveNamedItemEx("item_kevlar"); break;
case ARMOR_VESTHELM: GiveNamedItem("item_assaultsuit"); break; case ARMOR_VESTHELM: GiveNamedItemEx("item_assaultsuit"); break;
} }
} }
#endif #endif