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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user