mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-06-04 19:10:59 +00:00
Implemented WorldThingSpawned hook. Also changed Console.Printf to automatically add \n. Also fixed vararg calls with names.
This commit is contained in:
parent
0598c18ad8
commit
83f868a049
6 changed files with 19 additions and 4 deletions
|
@ -71,6 +71,7 @@
|
|||
#include "virtual.h"
|
||||
#include "g_levellocals.h"
|
||||
#include "a_morph.h"
|
||||
#include "events.h"
|
||||
|
||||
// MACROS ------------------------------------------------------------------
|
||||
|
||||
|
@ -4970,6 +4971,12 @@ void AActor::PostBeginPlay ()
|
|||
flags7 |= MF7_HANDLENODELAY;
|
||||
}
|
||||
|
||||
void AActor::CallPostBeginPlay()
|
||||
{
|
||||
Super::CallPostBeginPlay();
|
||||
E_WorldThingSpawned(this);
|
||||
}
|
||||
|
||||
void AActor::MarkPrecacheSounds() const
|
||||
{
|
||||
SeeSound.MarkUsed();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue