mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -356,7 +356,7 @@ unique_name (wad_t *wad, const char *name)
|
|||
do {
|
||||
strncpy (uname, name, 16);
|
||||
uname[15] = 0;
|
||||
tag = va ("~%x", i);
|
||||
tag = va ("~%x", i++);
|
||||
if (strlen (uname) + strlen (tag) <= 15)
|
||||
strcat (uname, tag);
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue