diff options
Diffstat (limited to 'src/party.cpp')
-rw-r--r-- | src/party.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/party.cpp b/src/party.cpp index 77174d52..99295792 100644 --- a/src/party.cpp +++ b/src/party.cpp @@ -144,7 +144,8 @@ void Party::removeFromMembers() while(itr != itr_end) { Being *b = actorSpriteManager->findBeing((*itr)->getID()); - b->setParty(NULL); + if (b) + b->setParty(NULL); ++itr; } } |