Skip to content

Commit

Permalink
- load Doom translations when parsing UMAPINFO in order to activate t…
Browse files Browse the repository at this point in the history
…he correct boss specials

- one typo (only on a comment) change
  • Loading branch information
Rachael Alexanderson committed Dec 30, 2017
1 parent 8f7ca00 commit 340f1fc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/g_mapinfo.cpp
Expand Up @@ -2233,7 +2233,7 @@ void G_ParseMapInfo (FString basemapinfo)
}
if (nindex != 2)
{
CommitUMapinfo(&gamedefaults); // UMPAINFOs are collected until a regular MAPINFO is found so that they properly use the base settings.
CommitUMapinfo(&gamedefaults); // UMAPINFOs are collected until a regular MAPINFO is found so that they properly use the base settings.
FMapInfoParser parse(nindex == 1 ? FMapInfoParser::FMT_New : FMapInfoParser::FMT_Unknown);
level_info_t defaultinfo;
parse.ParseMapInfo(lump, gamedefaults, defaultinfo);
Expand Down
2 changes: 2 additions & 0 deletions src/umapinfo.cpp
Expand Up @@ -332,6 +332,8 @@ static int ParseMapEntry(FScanner &scanner, UMapEntry *val)

int ParseUMapInfo(int lumpnum)
{
P_LoadTranslator("xlat/doom.txt");

FScanner scanner(lumpnum);
unsigned int i;

Expand Down

0 comments on commit 340f1fc

Please sign in to comment.