# 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:
Ykkrosh
2007-02-25 21:11:57 +00:00
parent 5e9ef3fa03
commit c2b119e721
7 changed files with 13 additions and 9 deletions
+1 -1
View File
@@ -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;