fixes bad buying for heavy weapons & shotguns
replaced some magic numbers in code to be readable
This commit is contained in:
parent
27019f76b6
commit
9ae9ecb76a
4 changed files with 61 additions and 33 deletions
|
|
@ -232,7 +232,7 @@ void NetworkMsg::Execute (void *p)
|
|||
m_bot->m_inBuyZone = (enabled != 0);
|
||||
|
||||
// try to equip in buyzone
|
||||
m_bot->EquipInBuyzone (0);
|
||||
m_bot->EquipInBuyzone (BUYSTATE_PRIMARY_WEAPON);
|
||||
}
|
||||
else if (strcmp (PTR_TO_STR (p), "vipsafety") == 0)
|
||||
m_bot->m_inVIPZone = (enabled != 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue