More type conversion warning cleanup.

This commit is contained in:
wrenczes@gmail.com
2010-11-07 12:00:23 +00:00
parent 5d907f5abe
commit a053c0d59e
10 changed files with 28 additions and 28 deletions

View File

@@ -103,7 +103,7 @@ void GuiPlay::BattleField::Update(float dt)
height += 10 * dt * (HEIGHT - height);
if (colorFlow){
red+= colorFlow * 300 * dt;
red+= static_cast<int>(colorFlow * 300 * dt);
if (red < 0) red = 0;
if (red > 70) red = 70;
}