improve: use ScoreAttrib message to detect if bot is a VIP or not. (#356)
This should resolve problems with bot behavior, when plugins changes VIP player model to something else.
This commit is contained in:
parent
659f69d0f0
commit
b606b78cda
4 changed files with 34 additions and 11 deletions
|
|
@ -1235,7 +1235,6 @@ void Bot::newRound () {
|
|||
|
||||
m_navTimeset = game.time ();
|
||||
m_team = game.getTeam (ent ());
|
||||
m_isVIP = false;
|
||||
|
||||
resetPathSearchType ();
|
||||
|
||||
|
|
@ -1243,7 +1242,6 @@ void Bot::newRound () {
|
|||
m_states = 0;
|
||||
clearTasks ();
|
||||
|
||||
m_isVIP = false;
|
||||
m_isLeader = false;
|
||||
m_hasProgressBar = false;
|
||||
m_canChooseAimDirection = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue