mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 06:41:41 +00:00
- fixed: Only ActorMovers should go into STAT_ACTORMOVER, not all PathFollowers.
SVN r2078 (trunk)
This commit is contained in:
parent
efb420228c
commit
840fc6bfa3
2 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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 ();
|
||||
|
|
Loading…
Reference in a new issue