mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2024-12-26 22:55:41 +03:00
mp_free_armor small fix (#685)
This commit is contained in:
parent
dd243eaa0b
commit
c6187f3dc7
@ -10009,8 +10009,8 @@ void EXT_FUNC CBasePlayer::__API_HOOK(OnSpawnEquip)(bool addDefault, bool equipG
|
||||
{
|
||||
switch (static_cast<ArmorType>((int)free_armor.value))
|
||||
{
|
||||
case ARMOR_KEVLAR: GiveNamedItem("item_kevlar"); break;
|
||||
case ARMOR_VESTHELM: GiveNamedItem("item_assaultsuit"); break;
|
||||
case ARMOR_KEVLAR: GiveNamedItemEx("item_kevlar"); break;
|
||||
case ARMOR_VESTHELM: GiveNamedItemEx("item_assaultsuit"); break;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user