diff options
author | Simon Howard | 2014-09-13 01:56:35 -0400 |
---|---|---|
committer | Simon Howard | 2014-09-13 01:56:35 -0400 |
commit | 4d4f74f576cbde74def4bef7e1fda8c3a69eb64f (patch) | |
tree | 692272a14e9b961e89f4cc4e0864f57b52c21564 /src/heretic | |
parent | eb1ea531fdba58cddfd583a6e7cef81a10f87242 (diff) | |
download | chocolate-doom-4d4f74f576cbde74def4bef7e1fda8c3a69eb64f.tar.gz chocolate-doom-4d4f74f576cbde74def4bef7e1fda8c3a69eb64f.tar.bz2 chocolate-doom-4d4f74f576cbde74def4bef7e1fda8c3a69eb64f.zip |
dehacked: Fix BEX string expansions.
The Dehacked code must pass a special flag to DEH_ReadLine() when
parsing the [STRINGS] section, so that lines can be escaped onto
following lines. However, this flag value was calculated incorrectly.
The BEX [STRINGS] section cannot be looked up at the start of
parsing a Dehacked file, because GetSectionByName() will return
NULL for it (extended strings are not available yet). Instead,
simplify the logic to look at the name of the current section and
check that way.
Diffstat (limited to 'src/heretic')
0 files changed, 0 insertions, 0 deletions