diff options
Diffstat (limited to 'src/being/being.cpp')
-rw-r--r-- | src/being/being.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp index 4a3e4d0cb..e8ab55736 100644 --- a/src/being/being.cpp +++ b/src/being/being.cpp @@ -281,6 +281,7 @@ Being::~Being() { if (mType == ActorType::LocalPet) mOwner->unassignPet(this); + mOwner = nullptr; } FOR_EACH (std::vector<Being*>::iterator, it, mPets) |