From 00a8622ca24d00b32ab04a8de5957bbec6c4f6c0 Mon Sep 17 00:00:00 2001 From: "wrenczes@gmail.com" Date: Sun, 17 Apr 2011 06:26:52 +0000 Subject: [PATCH] Eliminated a spurious float to long conversion. --- projects/mtg/src/PlayGuiObject.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/mtg/src/PlayGuiObject.cpp b/projects/mtg/src/PlayGuiObject.cpp index 02939ec4c..79748f289 100644 --- a/projects/mtg/src/PlayGuiObject.cpp +++ b/projects/mtg/src/PlayGuiObject.cpp @@ -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() );