- Fixed: Episodes starting on a map with 8 characters in its lump name would not work.

SVN r2394 (trunk)
This commit is contained in:
Braden Obrzut 2010-06-30 06:09:49 +00:00
parent 551f0d3148
commit 9bf543af99
3 changed files with 3 additions and 2 deletions

View file

@ -1802,6 +1802,7 @@ void FMapInfoParser::ParseEpisodeInfo ()
EpisodeMenu[i].fulltext = !picisgfx;
EpisodeNoSkill[i] = noskill;
strncpy (EpisodeMaps[i], map, 8);
EpisodeMaps[i][8] = 0;
}
}

View file

@ -391,7 +391,7 @@ oldmenuitem_t EpisodeMenu[MAX_EPISODES] =
{1,0,0, NULL, M_Episode, CR_UNTRANSLATED},
};
char EpisodeMaps[MAX_EPISODES][8];
char EpisodeMaps[MAX_EPISODES][9];
bool EpisodeNoSkill[MAX_EPISODES];
oldmenu_t EpiDef =

View file

@ -273,7 +273,7 @@ extern int CurrentItem;
extern oldmenuitem_t EpisodeMenu[MAX_EPISODES];
extern bool EpisodeNoSkill[MAX_EPISODES];
extern char EpisodeMaps[MAX_EPISODES][8];
extern char EpisodeMaps[MAX_EPISODES][9];
extern oldmenu_t EpiDef;
#endif