it was mistake
This commit is contained in:
parent
0b2bbf1ae8
commit
aac96fe904
1 changed files with 1 additions and 7 deletions
|
|
@ -1253,13 +1253,7 @@ void Bot::NewRound (void)
|
|||
const float interval = (1.0f / 30.0f) * Random.Float (0.95f, 1.05f);
|
||||
|
||||
if (g_gameVersion & CSVERSION_LEGACY)
|
||||
{
|
||||
m_thinkInterval = 0.0f;
|
||||
|
||||
// android xash engine allows frameskip
|
||||
if ((g_gameVersion & CSVERSION_XASH) && (g_gameVersion & CSVERSION_MOBILITY))
|
||||
m_thinkInterval = interval;
|
||||
}
|
||||
else
|
||||
m_thinkInterval = interval;
|
||||
}
|
||||
|
|
@ -1502,4 +1496,4 @@ void BotManager::UpdateActiveGrenades (void)
|
|||
const Array <entity_t> &BotManager::GetActiveGrenades (void)
|
||||
{
|
||||
return m_activeGrenades;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue