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
|
|
@ -1190,7 +1190,7 @@ void Bot::NewRound (void)
|
|||
m_sayTextBuffer.entityIndex = -1;
|
||||
m_sayTextBuffer.sayText[0] = 0x0;
|
||||
|
||||
m_buyState = 0;
|
||||
m_buyState = BUYSTATE_PRIMARY_WEAPON;
|
||||
m_lastEquipTime = 0.0f;
|
||||
|
||||
if (!m_notKilled) // if bot died, clear all weapon stuff and force buying again
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue