From 787a9bc182e699e8fa48d2926d3833deb2c3a92a Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Wed, 9 May 2007 10:08:35 +0000 Subject: [PATCH] forgot to increment the tail number (would have made a mess of maps with more than one duplicate of a texture name) --- tools/qfbsp/source/readbsp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/qfbsp/source/readbsp.c b/tools/qfbsp/source/readbsp.c index 3feed6a66..0d6f7e32c 100644 --- a/tools/qfbsp/source/readbsp.c +++ b/tools/qfbsp/source/readbsp.c @@ -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