mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
Call AddAnimatingTextures only once rather than for every wad file.
This commit is contained in:
parent
fcd1897421
commit
d90a630b04
1 changed files with 2 additions and 2 deletions
|
@ -436,8 +436,6 @@ WriteMiptex (void)
|
|||
if (res == -1)
|
||||
Sys_Error ("couldn't open %s[.gz]", wad);
|
||||
|
||||
AddAnimatingTextures ();
|
||||
|
||||
wad = w;
|
||||
if (!wad || !*wad)
|
||||
break;
|
||||
|
@ -448,6 +446,8 @@ WriteMiptex (void)
|
|||
free (wad_list);
|
||||
dstring_delete (fullpath);
|
||||
|
||||
AddAnimatingTextures ();
|
||||
|
||||
data = dstring_new ();
|
||||
data->size = sizeof (dmiptexlump_t);
|
||||
dstring_adjust (data);
|
||||
|
|
Loading…
Reference in a new issue