mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-15 16:51:31 +00:00
- Backported GZDoom r1246:
* Fixed possible crash when texture for menu item patch cannot be loaded. (From Alexey's Mac OS X port.) * Fixed iwadinfo.txt definitions of Hexen and Freedoom demos (also from Alexey's port.) * Added missing LOF_NOJUMP definition. SVN r3284 (trunk)
This commit is contained in:
parent
edfc16906a
commit
eafb9da2c1
3 changed files with 7 additions and 4 deletions
|
@ -553,7 +553,9 @@ void FListMenuItemPatch::Drawer(bool selected)
|
|||
}
|
||||
|
||||
int FListMenuItemPatch::GetWidth()
|
||||
{
|
||||
return TexMan[mTexture]->GetScaledWidth();
|
||||
{
|
||||
return mTexture.isValid()
|
||||
? TexMan[mTexture]->GetScaledWidth()
|
||||
: 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -61,6 +61,7 @@ const int LOF_NOSOUNDCHECK = 2;
|
|||
const int LOF_DONTCHASEGOAL = 4;
|
||||
const int LOF_NOSEESOUND = 8;
|
||||
const int LOF_FULLVOLSEESOUND = 16;
|
||||
const int LOF_NOJUMP = 32;
|
||||
|
||||
// Flags for A_Respawn
|
||||
const int RSF_FOG = 1;
|
||||
|
|
|
@ -115,7 +115,7 @@ IWad
|
|||
Name = "Hexen: Demo Version"
|
||||
Game = "Hexen"
|
||||
Config = "Hexen"
|
||||
Mapinfo = "mapinfo/doom2.txt"
|
||||
Mapinfo = "mapinfo/hexen.txt"
|
||||
Compatibility = "Shareware"
|
||||
MustContain = "TITLE", "MAP01", "WINNOWR"
|
||||
BannerColors = "f0 f0 f0", "6b 3c 18"
|
||||
|
@ -205,7 +205,7 @@ IWad
|
|||
Autoname = "Freedoom1"
|
||||
Game = "Doom"
|
||||
Config = "Doom"
|
||||
Mapinfo = "mapinfo/doom2.txt"
|
||||
Mapinfo = "mapinfo/doom1.txt"
|
||||
MustContain = "E1M1", "FREEDOOM"
|
||||
BannerColors = "32 54 43", "c6 dc d1"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue