aboutsummaryrefslogtreecommitdiff
path: root/src/crcombat.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/crcombat.cc')
-rw-r--r--src/crcombat.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crcombat.cc b/src/crcombat.cc
index d6cc410..ef4b2f7 100644
--- a/src/crcombat.cc
+++ b/src/crcombat.cc
@@ -916,7 +916,7 @@ void TCombat::DistributeExperiencePoints(uint32 Exp){
int Amount = (int)((Exp * this->CombatList[i].Damage) / this->CombatDamage);
if(Master->Type == PLAYER && Attacker->Type == PLAYER){
- if(((TPlayer*)Master)->GetPartyLeader(true) == ((TPlayer*)Attacker)->GetPartyLeader(true)){
+ if(((TPlayer*)Master)->InPartyWith((TPlayer*)Attacker, true)){
continue;
}