mirror of
https://github.com/SWG-Source/src.git
synced 2026-07-28 22:15:49 -04:00
trying to confine the debug output to debug builds...i think @cekis has the armor ones hard coded...wonder if we can make dynamic or toggle off somehow
This commit is contained in:
@@ -399,12 +399,12 @@ Appearance *AppearanceTemplateList::createAppearance(const char *const fileName)
|
||||
//-- get the appearance template
|
||||
const AppearanceTemplate *const appearanceTemplate = fetch(fileName);
|
||||
|
||||
#ifdef _DEBUG
|
||||
if (appearanceTemplate == NULL){
|
||||
DEBUG_WARNING(true, ("FIX ME: Appearance template for %s could not be fetched - is it missing?", fileName));
|
||||
return NULL; // Cekis: TODO: Figure out why the template can't be fetched.
|
||||
}
|
||||
|
||||
#ifdef _DEBUG
|
||||
DataLint::pushAsset(fileName);
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user