mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-22 20:21:26 +00:00
- load Doom translations when parsing UMAPINFO in order to activate the correct boss specials
- one typo (only on a comment) change
This commit is contained in:
parent
8f7ca00d19
commit
340f1fce30
2 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue