- fixed: Doom's episode names were not translatable.

This commit is contained in:
Christoph Oelckers 2019-03-17 10:11:02 +01:00
parent ba13a540e4
commit 0ff703c361
6 changed files with 10 additions and 10 deletions

View file

@ -464,7 +464,7 @@ void STAT_ChangeLevel(const char *newl, FLevelLocals *Level)
section.ToUpper();
const char *ep_name = StartEpisode->mEpisodeName;
if (*ep_name == '$') ep_name = GStrings[ep_name+1];
if (*ep_name == '$') ep_name = GStrings(ep_name+1);
FStatistics *sl = GetStatisticsList(EpisodeStatistics, section, ep_name);
int statvals[6] = {0,0,0,0,0,0};

View file

@ -189,7 +189,7 @@ clearepisodes
episode e1m1
{
picname = "M_EPI1"
name = "Chex Quest"
name = "$TXT_CHEX_EP"
key = "k"
}

View file

@ -21,28 +21,28 @@ clearepisodes
episode e1m1
{
picname = "M_EPI1"
name = "Knee-Deep in the Dead"
name = "$TXT_D1E1"
key = "k"
}
episode e2m1
{
picname = "M_EPI2"
name = "The Shores of Hell"
name = "$TXT_D1E2"
key = "t"
}
episode e3m1
{
picname = "M_EPI3"
name = "Inferno"
name = "$TXT_D1E3"
key = "i"
}
episode e4m1
{
picname = "M_EPI4"
name = "Thy Flesh Consumed"
name = "$TXT_D1E4"
key = "t"
optional
}

View file

@ -4,13 +4,13 @@ include "mapinfo/doomcommon.txt"
clearepisodes
episode map01
{
name = "Hell On Earth"
name = "$TXT_D2E1"
key = "h"
}
episode level01
{
name = "No Rest for the Living"
name = "$TXT_D1E2"
key = "n"
optional
}

View file

@ -6,7 +6,7 @@ include "mapinfo/doomcommon.txt"
clearepisodes
episode map01
{
name = "The Plutonia Experiment"
name = "$TXT_PLUT_EP"
key = "t"
}

View file

@ -6,7 +6,7 @@ include "mapinfo/doomcommon.txt"
clearepisodes
episode map01
{
name = "TNT: Evilution"
name = "$TXT_TNT_EP"
key = "t"
}