- fixed: The 'new format only' flag for MAPINFO options was never checked.
(ZDoom itself doesn't use it yet so it's only relevant for child ports.) SVN r1964 (trunk)
This commit is contained in:
parent
704895f9b9
commit
d8acbf71fa
3 changed files with 10 additions and 0 deletions
|
|
@ -1461,6 +1461,10 @@ void FMapInfoParser::ParseMapDefinition(level_info_t &info)
|
|||
{
|
||||
if (sc.Compare(((FMapOptInfo *)(*probe))->name))
|
||||
{
|
||||
if (!((FMapOptInfo *)(*probe))->old && format_type != FMT_New)
|
||||
{
|
||||
sc.ScriptError("MAPINFO option '%s' requires the new MAPINFO format", sc.String);
|
||||
}
|
||||
((FMapOptInfo *)(*probe))->handler(*this, &info);
|
||||
success = true;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue