From b588f370f5af56d9446e6908c19331846b53180d Mon Sep 17 00:00:00 2001 From: Ansariel Date: Thu, 2 Jun 2016 10:35:54 +0200 Subject: [PATCH] Oooops, these are integers... --- indra/newview/llfloaterregionrestarting.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/indra/newview/llfloaterregionrestarting.cpp b/indra/newview/llfloaterregionrestarting.cpp index 718b15236f..7c3cf904d3 100644 --- a/indra/newview/llfloaterregionrestarting.cpp +++ b/indra/newview/llfloaterregionrestarting.cpp @@ -108,10 +108,10 @@ void LLFloaterRegionRestarting::refresh() args["[SECONDS]"] = llformat("%d", sSeconds); getChild("restart_seconds")->setValue(getString("RestartSeconds", args)); - sSeconds = sSeconds - 1.f; - if(sSeconds < 0.0f) + sSeconds = sSeconds - 1; + if(sSeconds < 0) { - sSeconds = 0.f; + sSeconds = 0; } }