summaryrefslogtreecommitdiff
path: root/src/player.cpp
diff options
context:
space:
mode:
authorChuck Miller <shadowmil@gmail.com>2010-03-21 20:40:17 -0400
committerChuck Miller <shadowmil@gmail.com>2010-03-21 20:45:23 -0400
commiteb2a133b9534868b6e0ba86babb5d98b498e07b4 (patch)
tree4854b11dbef3609739ffd9f1a603283a9489a76b /src/player.cpp
parentb72c543d96fb66b422ea26104f8548646a29da21 (diff)
downloadmana-eb2a133b9534868b6e0ba86babb5d98b498e07b4.tar.gz
mana-eb2a133b9534868b6e0ba86babb5d98b498e07b4.tar.bz2
mana-eb2a133b9534868b6e0ba86babb5d98b498e07b4.tar.xz
mana-eb2a133b9534868b6e0ba86babb5d98b498e07b4.zip
Fix crash when no old party is set for a player
Reviewed-By: Jarad Adams
Diffstat (limited to 'src/player.cpp')
-rw-r--r--src/player.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/player.cpp b/src/player.cpp
index dfe45e6c..ad8c1db4 100644
--- a/src/player.cpp
+++ b/src/player.cpp
@@ -298,7 +298,7 @@ void Player::setParty(Party *party)
if (old)
{
- party->removeMember(mId);
+ old->removeMember(mId);
}
if (party)