*** empty log message ***
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1228 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -318,13 +318,12 @@ void preload_entmodels()
|
||||
|
||||
void preload_mapmodels()
|
||||
{
|
||||
int xs, ys;
|
||||
loopv(ents)
|
||||
{
|
||||
entity &e = ents[i];
|
||||
if(e.type!=MAPMODEL || !mapmodels.inrange(e.attr2)) continue;
|
||||
if(!loadmodel(NULL, e.attr2)) continue;
|
||||
if(e.attr4) lookuptexture(e.attr4, xs, ys);
|
||||
if(e.attr4) lookuptexture(e.attr4);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user