Fixed invalid note type trace to use correct escape sequence.
This commit is contained in:
@@ -14,7 +14,7 @@ static void TugMeterPercentChangeInit( size_t /*ScoreEvent*/ i, RString &sNameOu
|
||||
switch( i )
|
||||
{
|
||||
default:
|
||||
FAIL_M(ssprintf("Invalid ScoreEvent: %i", i));
|
||||
FAIL_M(ssprintf("Invalid ScoreEvent: %i", static_cast<int>(i)));
|
||||
case SE_W1: defaultValueOut = +0.010f; break;
|
||||
case SE_W2: defaultValueOut = +0.008f; break;
|
||||
case SE_W3: defaultValueOut = +0.004f; break;
|
||||
|
||||
+1
-1
@@ -180,7 +180,7 @@ struct TapNote
|
||||
{
|
||||
if (type_ > TapNoteType_Fake )
|
||||
{
|
||||
LOG->Trace("Invalid tap note type %d (most likely) due to random vanish issues. Assume it doesn't need judging.", TapNoteTypeToString(type_).c_str() );
|
||||
LOG->Trace("Invalid tap note type %s (most likely) due to random vanish issues. Assume it doesn't need judging.", TapNoteTypeToString(type_).c_str() );
|
||||
type = TapNoteType_Empty;
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -108,7 +108,7 @@ void TimingWindowSecondsInit( size_t /*TimingWindow*/ i, RString &sNameOut, floa
|
||||
switch( i )
|
||||
{
|
||||
default:
|
||||
FAIL_M(ssprintf("Invalid timing window: %i", i));
|
||||
FAIL_M(ssprintf("Invalid timing window: %i", static_cast<int>(i)));
|
||||
case TW_W1: defaultValueOut = 0.0225f; break;
|
||||
case TW_W2: defaultValueOut = 0.045f; break;
|
||||
case TW_W3: defaultValueOut = 0.090f; break;
|
||||
|
||||
Reference in New Issue
Block a user