diff options
author | Chuck Miller <shadowmil@gmail.com> | 2010-03-21 20:40:17 -0400 |
---|---|---|
committer | Chuck Miller <shadowmil@gmail.com> | 2010-03-21 20:45:23 -0400 |
commit | eb2a133b9534868b6e0ba86babb5d98b498e07b4 (patch) | |
tree | 4854b11dbef3609739ffd9f1a603283a9489a76b /src/player.cpp | |
parent | b72c543d96fb66b422ea26104f8548646a29da21 (diff) | |
download | mana-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.cpp | 2 |
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) |