mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 06:41:41 +00:00
- fixed: sector_t::GetHeightSec checked the wrong MoreFlags.
SVN r1936 (trunk)
This commit is contained in:
parent
cc2b0b0dcf
commit
7e2e62fd5c
2 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
||||||
October 24, 2009 (Changes by Graf Zahl)
|
October 24, 2009 (Changes by Graf Zahl)
|
||||||
|
- fixed: sector_t::GetHeightSec checked the wrong MoreFlags.
|
||||||
- made max. view pitch a property of the renderer so that it's overridable without
|
- made max. view pitch a property of the renderer so that it's overridable without
|
||||||
changing game code.
|
changing game code.
|
||||||
- made SpawningMapThing an argument of AActor::StaticSpawn instead of a global
|
- made SpawningMapThing an argument of AActor::StaticSpawn instead of a global
|
||||||
|
|
|
@ -588,7 +588,7 @@ struct sector_t
|
||||||
|
|
||||||
sector_t *GetHeightSec() const
|
sector_t *GetHeightSec() const
|
||||||
{
|
{
|
||||||
return (MoreFlags & SECF_IGNOREHEIGHTSEC)? NULL : heightsec;
|
return (heightsec && !(heightsec->MoreFlags & SECF_IGNOREHEIGHTSEC))? heightsec : NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
void ChangeLightLevel(int newval)
|
void ChangeLightLevel(int newval)
|
||||||
|
|
Loading…
Reference in a new issue