Add minus-prefixed textures for halflife's randomised-textures feature, instead of getting crash-to-desktop errors when the map is loaded.
This commit is contained in:
parent
6366199bdb
commit
2da504fb62
|
|
@ -330,7 +330,7 @@ WADList_AddAnimationFrames(const wad_t *wadlist)
|
||||||
oldcount = map.nummiptex();
|
oldcount = map.nummiptex();
|
||||||
|
|
||||||
for (i = 0; i < oldcount; i++) {
|
for (i = 0; i < oldcount; i++) {
|
||||||
if (map.miptex.at(i)[0] != '+')
|
if (map.miptex.at(i)[0] != '+' && (options.BSPVersion!=BSPHLVERSION||map.miptex.at(i)[0] != '-'))
|
||||||
continue;
|
continue;
|
||||||
std::string name = map.miptex.at(i);
|
std::string name = map.miptex.at(i);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue