mirror of
https://github.com/SWG-Source/src.git
synced 2026-09-11 23:45:01 -04:00
correction
This commit is contained in:
@@ -399,15 +399,16 @@ Appearance *AppearanceTemplateList::createAppearance(const char *const fileName)
|
||||
//-- get the appearance template
|
||||
const AppearanceTemplate *const appearanceTemplate = fetch(fileName);
|
||||
|
||||
#ifdef _DEBUG //probably should modify the macro sometime to just be quiet if this isn't defined
|
||||
#ifdef _DEBUG
|
||||
DataLint::pushAsset(fileName);
|
||||
#endif
|
||||
|
||||
//probably should modify the macro sometime to just be quiet if this isn't defined
|
||||
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. DarthArgus: always is due to a missing file or one of the redirectors having a bad path
|
||||
}
|
||||
|
||||
DataLint::pushAsset(fileName);
|
||||
#endif
|
||||
|
||||
//-- creating the appearance will increment the reference count
|
||||
Appearance *const appearance = appearanceTemplate->createAppearance();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user