3e2d47f879
- In D2X, do not accept Descent2-specific directives from Descent 1 `.msn` files. - Set the descent_version field correctly in the `mle`. Previously, `.msn` was set to descent1 and all `.mn2` were set to descent2, regardless of whether the `.mn2` used `name`, `xname`, `zname`, or `!name`. - Avoid rewinding the file and rereading the same line while checking the possible name types. - Avoid recomputing end-of-string when it is already known. - Avoid re-reading the mission file's version when the mission is chosen. Instead, use the version that was recorded when the mission was loaded into the mission list. This also fixes a bug where Descent 1 `.msn` files would be classified as descent_version_type::descent2 since both use `name =`, but that string has a different meaning depending on whether the file is `.msn` or `.mn2`. |
||
---|---|---|
.. | ||
2d | ||
3d | ||
arch | ||
editor | ||
main | ||
misc |