Skip to content

Commit

Permalink
IdTech1Converter|MapInfoTranslator: Handle "endbunny" and "endtitle" …
Browse files Browse the repository at this point in the history
…in MAPINFO

Evidently ZDoom allows these ZDoom-dialect symbols in the "regular"
MAPINFO lump too, so alert the user if they are found.
  • Loading branch information
danij-deng committed Nov 28, 2014
1 parent 67a2e40 commit 98da1d9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions doomsday/plugins/idtech1converter/src/mapinfotranslator.cpp
Expand Up @@ -583,14 +583,16 @@ namespace internal {
lexer.readString();
return;
}
if(!Str_CompareIgnoreCase(tok, "enddemon") ||
if(!Str_CompareIgnoreCase(tok, "endbunny") ||
!Str_CompareIgnoreCase(tok, "enddemon") ||
!Str_CompareIgnoreCase(tok, "endgame1") ||
!Str_CompareIgnoreCase(tok, "endgame2") ||
!Str_CompareIgnoreCase(tok, "endgame3") ||
!Str_CompareIgnoreCase(tok, "endgame4") ||
!Str_CompareIgnoreCase(tok, "endgamec") ||
!Str_CompareIgnoreCase(tok, "endgames") ||
!Str_CompareIgnoreCase(tok, "endgamew"))
!Str_CompareIgnoreCase(tok, "endgamew") ||
!Str_CompareIgnoreCase(tok, "endtitle"))
{
LOG_WARNING("MAPINFO Map.next EndGame directives are not supported.");
return;
Expand Down

0 comments on commit 98da1d9

Please sign in to comment.