Eliminated a spurious float to long conversion.

This commit is contained in:
wrenczes@gmail.com
2011-04-17 06:26:52 +00:00
parent a6b15a41af
commit 00a8622ca2

View File

@@ -25,7 +25,7 @@ PlayGuiObject::PlayGuiObject(float desiredHeight, const Pos& ref, bool hasFocus)
void PlayGuiObject::Update(float dt)
{
if (mHasFocus && mHeight < defaultHeight * 1.2)
if (mHasFocus && mHeight < defaultHeight * 1.2f)
{
mHeight += defaultHeight * 0.8f * dt;
// fprintf(stderr, "increasing size to %f - %d", mHeight, GetId() );