replaced all character arrays for lump/texture names in the level_info_t and FLevelLocals structures with FStrings as first preparation for allowing long texture names.
This commit is contained in:
parent
458e1b1be2
commit
65e8563cf4
11 changed files with 65 additions and 62 deletions
|
|
@ -1316,8 +1316,14 @@ bool AM_clearMarks ()
|
|||
|
||||
void AM_LevelInit ()
|
||||
{
|
||||
const char *autopage = level.info->mapbg[0] == 0? "AUTOPAGE" : (const char*)&level.info->mapbg[0];
|
||||
mapback = TexMan.CheckForTexture(autopage, FTexture::TEX_MiscPatch);
|
||||
if (level.info->MapBackground.Len() == 0)
|
||||
{
|
||||
mapback = TexMan.CheckForTexture("AUTOPAGE", FTexture::TEX_MiscPatch);
|
||||
}
|
||||
else
|
||||
{
|
||||
mapback = TexMan.CheckForTexture(level.info->MapBackground, FTexture::TEX_MiscPatch);
|
||||
}
|
||||
|
||||
AM_clearMarks();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue