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

This commit is contained in:
Rachael Alexanderson 2018-01-27 13:01:28 -05:00
commit 799a308ef7
2 changed files with 8 additions and 0 deletions

View file

@ -79,6 +79,12 @@ void DSectorEffect::Serialize(FSerializer &arc)
DEFINE_FIELD(DSectorEffect, m_Sector)
DEFINE_ACTION_FUNCTION(DSectorEffect, GetSector)
{
PARAM_SELF_PROLOGUE(DSectorEffect);
ACTION_RETURN_POINTER(self->m_Sector);
}
IMPLEMENT_CLASS(DMover, true, true)
IMPLEMENT_POINTERS_START(DMover)

View file

@ -795,6 +795,8 @@ struct StringStruct native
class SectorEffect : Thinker native
{
native protected Sector m_Sector;
native clearscope Sector GetSector();
}
class Mover : SectorEffect native