replace ASSERT(0) with useful fail messages
This commit is contained in:
@@ -482,7 +482,7 @@ void TextureFont::Save( CString sBasePath, CString sBitmapAppendBeforeExtension,
|
||||
sPageName += "-stroke";
|
||||
break;
|
||||
default:
|
||||
ASSERT(0);
|
||||
FAIL_M(ssprintf("Unexpected value for j: %i", j));
|
||||
}
|
||||
|
||||
CString sFile;
|
||||
|
||||
Reference in New Issue
Block a user