Updated substitution logic to only replace pointers if safe
This commit is contained in:
parent
e85ec240bf
commit
442ac3f78b
7 changed files with 67 additions and 55 deletions
|
|
@ -1711,7 +1711,7 @@ int FLevelLocals::FinishTravel ()
|
|||
pawn->flags2 &= ~MF2_BLASTED;
|
||||
if (oldpawn != nullptr)
|
||||
{
|
||||
PlayerPointerSubstitution (oldpawn, pawn);
|
||||
PlayerPointerSubstitution (oldpawn, pawn, true);
|
||||
oldpawn->Destroy();
|
||||
}
|
||||
if (pawndup != NULL)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue