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
|
|
@ -246,7 +246,7 @@ public:
|
|||
inline int* IntArray(FName field);
|
||||
|
||||
// This is only needed for swapping out PlayerPawns and absolutely nothing else!
|
||||
virtual size_t PointerSubstitution (DObject *old, DObject *notOld);
|
||||
virtual size_t PointerSubstitution (DObject *old, DObject *notOld, bool nullOnFail);
|
||||
|
||||
PClass *GetClass() const
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue