forgot to increment the tail number (would have made a mess of maps with more than one duplicate of a texture name)
This commit is contained in:
parent
3528e803c1
commit
787a9bc182
|
@ -356,7 +356,7 @@ unique_name (wad_t *wad, const char *name)
|
||||||
do {
|
do {
|
||||||
strncpy (uname, name, 16);
|
strncpy (uname, name, 16);
|
||||||
uname[15] = 0;
|
uname[15] = 0;
|
||||||
tag = va ("~%x", i);
|
tag = va ("~%x", i++);
|
||||||
if (strlen (uname) + strlen (tag) <= 15)
|
if (strlen (uname) + strlen (tag) <= 15)
|
||||||
strcat (uname, tag);
|
strcat (uname, tag);
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue