mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-21 20:06:40 +00:00
# Linux fixes.
Disabled CONFIG_USE_MMGR by default, since it seems unnecessary and it makes debug builds slow (extremely slow under Valgrind) due to symbol lookups when allocating memory. Fixed minor warnings and errors. This was SVN commit r4927.
This commit is contained in:
@@ -248,7 +248,7 @@ void CModel::Update(float time)
|
||||
// Make sure the last displayed frame is the final frame
|
||||
// of the animation.
|
||||
float nearlyEnd = duration - 1.f; // 1 msec
|
||||
if (abs(oldAnimTime - nearlyEnd) < 1.f)
|
||||
if (fabs(oldAnimTime - nearlyEnd) < 1.f)
|
||||
SetAnimation(NULL);
|
||||
else
|
||||
m_AnimTime = nearlyEnd;
|
||||
|
||||
Reference in New Issue
Block a user