Eliminated a spurious float to long conversion.
This commit is contained in:
@@ -25,7 +25,7 @@ PlayGuiObject::PlayGuiObject(float desiredHeight, const Pos& ref, bool hasFocus)
|
|||||||
|
|
||||||
void PlayGuiObject::Update(float dt)
|
void PlayGuiObject::Update(float dt)
|
||||||
{
|
{
|
||||||
if (mHasFocus && mHeight < defaultHeight * 1.2)
|
if (mHasFocus && mHeight < defaultHeight * 1.2f)
|
||||||
{
|
{
|
||||||
mHeight += defaultHeight * 0.8f * dt;
|
mHeight += defaultHeight * 0.8f * dt;
|
||||||
// fprintf(stderr, "increasing size to %f - %d", mHeight, GetId() );
|
// fprintf(stderr, "increasing size to %f - %d", mHeight, GetId() );
|
||||||
|
|||||||
Reference in New Issue
Block a user