mirror of
https://github.com/ZDoom/qzdoom.git
synced 2025-03-17 08:21:28 +00:00
Merge commit 'refs/pull/417/head' of https://github.com/coelckers/gzdoom
This commit is contained in:
commit
80a23f3bb3
3 changed files with 7 additions and 1 deletions
|
@ -78,6 +78,11 @@ void DSectorEffect::Serialize(FSerializer &arc)
|
|||
|
||||
DEFINE_FIELD(DSectorEffect, m_Sector)
|
||||
|
||||
DEFINE_ACTION_FUNCTION(DSectorEffect, GetSector)
|
||||
{
|
||||
PARAM_SELF_PROLOGUE(DSectorEffect);
|
||||
ACTION_RETURN_POINTER(self->GetSector());
|
||||
}
|
||||
|
||||
IMPLEMENT_CLASS(DMover, true, true)
|
||||
|
||||
|
|
|
@ -191,7 +191,6 @@ DLighting::DLighting (sector_t *sector)
|
|||
: DSectorEffect (sector)
|
||||
{
|
||||
ChangeStatNum (STAT_LIGHT);
|
||||
sector->lightingdata = this;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
|
|
@ -795,6 +795,8 @@ struct StringStruct native
|
|||
class SectorEffect : Thinker native
|
||||
{
|
||||
native protected Sector m_Sector;
|
||||
|
||||
native clearscope Sector GetSector();
|
||||
}
|
||||
|
||||
class Mover : SectorEffect native
|
||||
|
|
Loading…
Reference in a new issue