diff --git a/Makefile b/Makefile index 3af6e1ab..1cd278fb 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,7 @@ TARGET_UNIX ?= $(if $(filter UNIX,$(TARGET_OS)),$(HOST_UNIX),) # ============================================================================ -TYR_RELEASE := v0.10-pre +TYR_RELEASE := v0.11-pre TYR_GIT := $(shell git describe --dirty 2> /dev/null) TYR_VERSION := $(if $(TYR_GIT),$(TYR_GIT),$(TYR_RELEASE)) TYR_VERSION_NUM ?= $(patsubst v%,%,$(TYR_VERSION)) diff --git a/changelog.txt b/changelog.txt index 8e8326ad..2f475812 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,7 @@ +Unreleased + +* qbsp: Fix animating texture bug when brushes are textured with alt-animations + 2013-04-25 TyrUtils v0.10 * Documentation added for bspinfo and bsputil diff --git a/qbsp/map.c b/qbsp/map.c index 8a81b700..c3aa3d4c 100644 --- a/qbsp/map.c +++ b/qbsp/map.c @@ -37,7 +37,7 @@ FindMiptex(const char *name) int i; for (i = 0; i < map.nummiptex; i++) { - if (!strcmp(name, map.miptex[i])) + if (!strcasecmp(name, map.miptex[i])) return i; } if (map.nummiptex == map.maxmiptex) diff --git a/qbsp/wad.c b/qbsp/wad.c index b61f6dda..335b76b0 100644 --- a/qbsp/wad.c +++ b/qbsp/wad.c @@ -254,7 +254,7 @@ WADList_AddAnimatingTextures(const wad_t *wadlist) /* Search for all animations (0-9) and alt-animations (A-J) */ for (j = 0; j < 20; j++) { - name[1] = (j < 10) ? '0' + j : 'A' + j - 10; + name[1] = (j < 10) ? '0' + j : 'a' + j - 10; if (WADList_FindTexture(wadlist, name)) FindMiptex(name); }