Skip to content

Commit

Permalink
mp_free_armor small fix (#685)
Browse files Browse the repository at this point in the history
  • Loading branch information
aleeperezz16 authored Oct 14, 2021
1 parent dd243ea commit c6187f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions regamedll/dlls/player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c6187f3

Please sign in to comment.