From 0d9d52eb3b1564044bc8e702d97bfff39794b2ac Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Wed, 4 May 2005 03:46:59 +0000 Subject: [PATCH] timer pauses at 99.99 --- stepmania/src/MenuTimer.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/stepmania/src/MenuTimer.cpp b/stepmania/src/MenuTimer.cpp index 9ec5800858..4b9a8d2e06 100644 --- a/stepmania/src/MenuTimer.cpp +++ b/stepmania/src/MenuTimer.cpp @@ -13,13 +13,13 @@ CString WARNING_COMMAND_NAME( size_t i ) { return ssprintf("WarningCommand%d",int(i)); } -static const ThemeMetric WARNING_START ("MenuTimer","WarningStart"); -static const ThemeMetric WARNING_BEEP_START ("MenuTimer","WarningBeepStart"); -static const ThemeMetric MAX_STALL_SECONDS ("MenuTimer","MaxStallSeconds"); -static const ThemeMetric TEXT1_FORMAT_FUNCTION ("MenuTimer","Text1FormatFunction"); -static const ThemeMetric TEXT2_FORMAT_FUNCTION ("MenuTimer","Text2FormatFunction"); +static const ThemeMetric WARNING_START ("MenuTimer","WarningStart"); +static const ThemeMetric WARNING_BEEP_START ("MenuTimer","WarningBeepStart"); +static const ThemeMetric MAX_STALL_SECONDS ("MenuTimer","MaxStallSeconds"); +static const ThemeMetric TEXT1_FORMAT_FUNCTION ("MenuTimer","Text1FormatFunction"); +static const ThemeMetric TEXT2_FORMAT_FUNCTION ("MenuTimer","Text2FormatFunction"); -static const float TIMER_PAUSE_SECONDS = 99; +static const float TIMER_PAUSE_SECONDS = 99.99f; MenuTimer::MenuTimer() : WARNING_COMMAND("MenuTimer", WARNING_COMMAND_NAME, WARNING_START+1)