mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-06-01 09:02:08 +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)
|
if (res == -1)
|
||||||
Sys_Error ("couldn't open %s[.gz]", wad);
|
Sys_Error ("couldn't open %s[.gz]", wad);
|
||||||
|
|
||||||
AddAnimatingTextures ();
|
|
||||||
|
|
||||||
wad = w;
|
wad = w;
|
||||||
if (!wad || !*wad)
|
if (!wad || !*wad)
|
||||||
break;
|
break;
|
||||||
|
@ -448,6 +446,8 @@ WriteMiptex (void)
|
||||||
free (wad_list);
|
free (wad_list);
|
||||||
dstring_delete (fullpath);
|
dstring_delete (fullpath);
|
||||||
|
|
||||||
|
AddAnimatingTextures ();
|
||||||
|
|
||||||
data = dstring_new ();
|
data = dstring_new ();
|
||||||
data->size = sizeof (dmiptexlump_t);
|
data->size = sizeof (dmiptexlump_t);
|
||||||
dstring_adjust (data);
|
dstring_adjust (data);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue