mirror of
https://github.com/ZDoom/gzdoom-last-svn.git
synced 2025-06-02 18:21:02 +00:00
- Fixed: using custom automap backgrounds crashed.
git-svn-id: http://mancubus.net/svn/hosted/gzdoom/trunk@404 b0f79afe-0144-0410-b225-9a4edf0717df
This commit is contained in:
parent
8a1f69e42d
commit
ee61bdde16
2 changed files with 5 additions and 2 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