mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 14:51:51 +00:00
- Fixed: Episodes starting on a map with 8 characters in its lump name would not work.
SVN r2394 (trunk)
This commit is contained in:
parent
551f0d3148
commit
9bf543af99
3 changed files with 3 additions and 2 deletions
|
@ -1802,6 +1802,7 @@ void FMapInfoParser::ParseEpisodeInfo ()
|
|||
EpisodeMenu[i].fulltext = !picisgfx;
|
||||
EpisodeNoSkill[i] = noskill;
|
||||
strncpy (EpisodeMaps[i], map, 8);
|
||||
EpisodeMaps[i][8] = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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 =
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue