- moved the FRenderer::StateChanged call from AActor::StaticSpawn to AActor::PostBeginPlay.
- ensured that all classes reach AActor's PostBeginPlay method. Some were missing a Super call. SVN r3404 (trunk)
This commit is contained in:
parent
f2f9bd800d
commit
d3981197c5
4 changed files with 8 additions and 5 deletions
|
|
@ -102,6 +102,7 @@ class ARandomSpawner : public AActor
|
|||
{
|
||||
AActor * newmobj = NULL;
|
||||
bool boss = false;
|
||||
Super::PostBeginPlay();
|
||||
if (Species == NAME_None) { Destroy(); return; }
|
||||
const PClass * cls = PClass::FindClass(Species);
|
||||
if (this->flags & MF_MISSILE && target && target->target) // Attempting to spawn a missile.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue