replace ASSERT(0) with useful fail messages
This commit is contained in:
+1
-1
@@ -12,7 +12,7 @@ LifeMeter *LifeMeter::MakeLifeMeter( SongOptions::LifeType t )
|
||||
case SongOptions::LIFE_BATTERY: return new LifeMeterBattery;
|
||||
case SongOptions::LIFE_TIME: return new LifeMeterTime;
|
||||
default:
|
||||
ASSERT(0);
|
||||
FAIL_M(ssprintf("Unrecognized LifeMeter type: %i", t));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user