More type conversion warning cleanup.

This commit is contained in:
wrenczes@gmail.com
2010-11-07 12:09:04 +00:00
parent e717b2f260
commit 471cbd6ba4
5 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ Pos::Pos(float x, float y, float z, float t, float a) : actX(x), actY(y), actZ(z
void Pos::Update(float dt)
{
if (dt > 0.05f)
dt = 0.05;
dt = 0.05f;
actX += 10 * dt * (x - actX);
actY += 10 * dt * (y - actY);
actT += 10 * dt * (t - actT);