fixed android compiling
This commit is contained in:
parent
f8650aebd5
commit
8527f0a34b
3 changed files with 3 additions and 7 deletions
|
|
@ -1271,7 +1271,7 @@ void Bot::Kick (bool keepQuota)
|
|||
|
||||
// keep quota number up to date
|
||||
if (!keepQuota)
|
||||
yb_quota.SetInt (Clamp <int> (yb_quota.GetInt () - 1, 0, yb_quota.GetInt ()));
|
||||
yb_quota.SetInt (A_clamp <int> (yb_quota.GetInt () - 1, 0, yb_quota.GetInt ()));
|
||||
}
|
||||
|
||||
void Bot::StartGame (void)
|
||||
|
|
|
|||
|
|
@ -3162,7 +3162,7 @@ void Bot::UpdateBodyAngles (void)
|
|||
|
||||
void Bot::UpdateLookAngles (void)
|
||||
{
|
||||
const float delta = Clamp <float> (engine.Time () - m_lookUpdateTime, MATH_EQEPSILON, 0.05f);
|
||||
const float delta = A_clamp <float> (engine.Time () - m_lookUpdateTime, MATH_EQEPSILON, 0.05f);
|
||||
m_lookUpdateTime = engine.Time ();
|
||||
|
||||
// adjust all body and view angles to face an absolute vector
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue