summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2MatterDef.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/T2DLL/T2MatterDef.cpp')
-rw-r--r--src/T2DLL/T2MatterDef.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/T2DLL/T2MatterDef.cpp b/src/T2DLL/T2MatterDef.cpp
index 298c851..3021754 100644
--- a/src/T2DLL/T2MatterDef.cpp
+++ b/src/T2DLL/T2MatterDef.cpp
@@ -19,8 +19,8 @@ T2MatterDef::T2MatterDef(DWORD type, T2PluginSpecifier& specifier, CResFile* res
}
/*virtual*/ void T2MatterDef::AssignSilhouette(T2TemplatePluginList* list) {
- T2SilhouetteDef *silhouetteDef = list->FindSilhouette(mSilhouetteID);
+ T2SilhouetteDef *theSilhouetteDef = list->FindSilhouette(mSilhouetteID);
#line 31
- _ASSERT(silhouetteDef);
- mSilhouetteDef = silhouetteDef;
+ _ASSERT(theSilhouetteDef != NULL);
+ mSilhouetteDef = theSilhouetteDef;
}