fxi: proper modelattach construction

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3016 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2008-10-14 20:43:43 +00:00
parent e050234358
commit bba384fba1
+1 -1
View File
@@ -356,7 +356,7 @@ void rendermodel(const char *mdl, int anim, int tex, float rad, const vec &o, fl
if(a) for(int i = 0; a[i].tag; i++)
{
if(a[i].name) a[i].m = loadmodel(a[i].name);
a[i].m = a[i].name ? loadmodel(a[i].name) : NULL;
//if(a[i].m && a[i].m->type()!=m->type()) a[i].m = NULL;
}