- Fixed: using custom automap backgrounds crashed.
SVN r1735 (trunk)
This commit is contained in:
parent
4134bc3c64
commit
25c0f679cb
3 changed files with 6 additions and 3 deletions
|
|
@ -854,7 +854,7 @@ void AM_loadPics ()
|
|||
marknums[i] = TexMan.CheckForTexture (namebuf, FTexture::TEX_MiscPatch);
|
||||
}
|
||||
|
||||
const char *autopage = level.info->mapbg[0] == 0? "AUTOPAGE" : (const char*)level.info->mapbg[0];
|
||||
const char *autopage = level.info->mapbg[0] == 0? "AUTOPAGE" : (const char*)&level.info->mapbg[0];
|
||||
|
||||
mapback = TexMan.CheckForTexture(autopage, FTexture::TEX_MiscPatch);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue