diff --git a/docs/rh-log.txt b/docs/rh-log.txt index 919ecdfc5..81e4be4a8 100644 --- a/docs/rh-log.txt +++ b/docs/rh-log.txt @@ -1,4 +1,5 @@ January 2, 2010 (Changes by Graf Zahl) +- fixed: Only ActorMovers should go into STAT_ACTORMOVER, not all PathFollowers. - fixed: SBARINFO's DrawGem command accepted a size value of 0 and divided by it. Reinstated the old '+1' this command had in the old code. - fixed: The floor waggle code used FloatBobOffsets as sine table but this diff --git a/src/g_shared/a_movingcamera.cpp b/src/g_shared/a_movingcamera.cpp index 58bde3cff..de67c51d9 100644 --- a/src/g_shared/a_movingcamera.cpp +++ b/src/g_shared/a_movingcamera.cpp @@ -213,7 +213,6 @@ void APathFollower::BeginPlay () Super::BeginPlay (); PrevNode = CurrNode = NULL; bActive = false; - ChangeStatNum(STAT_ACTORMOVER); } void APathFollower::PostBeginPlay () @@ -508,6 +507,7 @@ class AActorMover : public APathFollower { DECLARE_CLASS (AActorMover, APathFollower) public: + void BeginPlay(); void PostBeginPlay (); void Activate (AActor *activator); void Deactivate (AActor *activator); @@ -517,6 +517,11 @@ protected: IMPLEMENT_CLASS (AActorMover) +void AActorMover::BeginPlay() +{ + ChangeStatNum(STAT_ACTORMOVER); +} + void AActorMover::PostBeginPlay () { Super::PostBeginPlay ();