- fixed: Only ActorMovers should go into STAT_ACTORMOVER, not all PathFollowers.

SVN r2078 (trunk)
This commit is contained in:
Christoph Oelckers 2010-01-02 12:15:47 +00:00
commit 840fc6bfa3
2 changed files with 7 additions and 1 deletions

View file

@ -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 ();