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:
Shpoike 2019-03-28 01:56:27 +00:00
parent 6366199bdb
commit 2da504fb62
1 changed files with 1 additions and 1 deletions

View File

@ -330,7 +330,7 @@ WADList_AddAnimationFrames(const wad_t *wadlist)
oldcount = map.nummiptex();
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;
std::string name = map.miptex.at(i);