Merge branch 'master' of ssh://tuon.disenchant.net/~/scm/tyrutils
This commit is contained in:
commit
e4367bc970
2
Makefile
2
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))
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue