fixed android compiling

This commit is contained in:
jeefo 2016-09-16 22:55:31 +03:00
commit 8527f0a34b
3 changed files with 3 additions and 7 deletions

View file

@ -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)

View file

@ -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