- Plugged more leaks in SBARINFO.
- Spawned actors that have MF2_DORMANT set in their default instance now have Deactivate() called on them immediately after spawning. SVN r707 (trunk)
This commit is contained in:
parent
d36d4aa863
commit
25e0f0644a
6 changed files with 164 additions and 95 deletions
|
|
@ -3316,6 +3316,13 @@ void AActor::HandleSpawnFlags ()
|
|||
|
||||
void AActor::BeginPlay ()
|
||||
{
|
||||
// If the actor is spawned with the dormant flag set, clear it, and use
|
||||
// the normal deactivation logic to make it properly dormant.
|
||||
if (flags2 & MF2_DORMANT)
|
||||
{
|
||||
flags2 &= ~MF2_DORMANT;
|
||||
Deactivate (NULL);
|
||||
}
|
||||
}
|
||||
|
||||
bool AActor::isFast()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue