- made DMover and subclasses non-abstract so they can be inherited from.

This is needed for interpolated custom floor/ceiling movers.
This commit is contained in:
Christoph Oelckers 2022-10-26 17:45:02 +02:00
parent 6eab875ec2
commit 4ce0ef41b5

View file

@ -22,7 +22,7 @@ public:
class DMover : public DSectorEffect
{
DECLARE_ABSTRACT_CLASS (DMover, DSectorEffect)
DECLARE_CLASS (DMover, DSectorEffect)
HAS_OBJECT_POINTERS
protected:
void Construct(sector_t *sector);
@ -39,14 +39,14 @@ protected:
class DMovingFloor : public DMover
{
DECLARE_ABSTRACT_CLASS (DMovingFloor, DMover)
DECLARE_CLASS (DMovingFloor, DMover)
protected:
void Construct(sector_t *sector);
};
class DMovingCeiling : public DMover
{
DECLARE_ABSTRACT_CLASS (DMovingCeiling, DMover)
DECLARE_CLASS (DMovingCeiling, DMover)
protected:
void Construct(sector_t *sector, bool interpolate = true);
};