summaryrefslogtreecommitdiff
path: root/src/party.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-09-09 22:10:53 +0300
committerAndrei Karas <akaras@inbox.ru>2011-09-09 22:11:30 +0300
commit703a3c4df3732e3e88559147001260f3355d42d6 (patch)
treefcaf8919cf734429374e4bb9a83b2b4a33835d1d /src/party.cpp
parent3a875a0026936d4bcb3bd1c2b6e8ac547cd5e27e (diff)
downloadmanaplus-703a3c4df3732e3e88559147001260f3355d42d6.tar.gz
manaplus-703a3c4df3732e3e88559147001260f3355d42d6.tar.bz2
manaplus-703a3c4df3732e3e88559147001260f3355d42d6.tar.xz
manaplus-703a3c4df3732e3e88559147001260f3355d42d6.zip
Continue fix for shadow variables/methods errors.
Diffstat (limited to 'src/party.cpp')
-rw-r--r--src/party.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/party.cpp b/src/party.cpp
index 9becee1cd..9da1a235d 100644
--- a/src/party.cpp
+++ b/src/party.cpp
@@ -119,9 +119,9 @@ void Party::removeMember(PartyMember *member)
if ((*itr)->mId == member->mId &&
(*itr)->getName() == member->getName())
{
- PartyMember *member = (*itr);
+ PartyMember *m = (*itr);
mMembers.erase(itr);
- delete member;
+ delete m;
deleted = true;
break;
}