scripts: support the VILE[\] sprites in wadinfo-builder.py

This commit is contained in:
Mike Swanson 2015-12-16 13:20:17 -08:00 committed by NickZ
parent 8b015ada6a
commit 837736fe20

View file

@ -117,7 +117,7 @@ def parse_assignment(section, line, match):
if override is not None: if override is not None:
filename = find_file(section, override.lower()) filename = find_file(section, override.lower())
else: else:
filename = find_file(section, resource) filename = find_file(section, resource.replace('[', '$').replace(']', '#').replace('\\', '@'))
# File not found? # File not found?