Merge commit 'refs/pull/417/head' of https://github.com/coelckers/gzdoom

This commit is contained in:
Rachael Alexanderson 2018-01-28 14:43:38 -05:00
commit d17cc884f0
2 changed files with 4 additions and 3 deletions

View file

@ -191,6 +191,7 @@ DLighting::DLighting (sector_t *sector)
: DSectorEffect (sector)
{
ChangeStatNum (STAT_LIGHT);
sector->lightingdata = this;
}
//-----------------------------------------------------------------------------

View file

@ -231,9 +231,9 @@ struct Sector native play
native int terrainnum[2];
// thinker_t for reversable actions
//SectorEffect floordata;
//SectorEffect ceilingdata;
//SectorEffect lightingdata;
native SectorEffect floordata;
native SectorEffect ceilingdata;
native SectorEffect lightingdata;
enum EPlane
{