summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgumi <git@gumi.ca>2018-06-19 20:29:26 -0400
committergumi <git@gumi.ca>2018-06-19 20:29:26 -0400
commitc82c9741bc1a0b110bccce1bcc76903a6e747a00 (patch)
treeb584e0292175759bff8832ac20be58bcf61a9a98
parent0475a22f9c38a7036657d20da44739dee969f7ea (diff)
downloadtmwa-c82c9741bc1a0b110bccce1bcc76903a6e747a00.tar.gz
tmwa-c82c9741bc1a0b110bccce1bcc76903a6e747a00.tar.bz2
tmwa-c82c9741bc1a0b110bccce1bcc76903a6e747a00.tar.xz
tmwa-c82c9741bc1a0b110bccce1bcc76903a6e747a00.zip
fix the previous patch
-rw-r--r--src/char/char.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/char/char.cpp b/src/char/char.cpp
index 107b52f..b9b1f60 100644
--- a/src/char/char.cpp
+++ b/src/char/char.cpp
@@ -2714,6 +2714,7 @@ void party_corruption_fix()
for (const CharPair& cp : char_keys)
{
if (cp.key.account_id == pp.party_most->member[i].account_id &&
+ cp.key.name == pp.party_most->member[i].name &&
cp.data->party_id != pp.party_id)
{
CHAR_LOG("Fixing corrupt party on character %s...\n"_fmt, cp.key.name);