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() );