summaryrefslogtreecommitdiff
path: root/src/map/party.cpp
diff options
context:
space:
mode:
authorRenārs Blumbergs <catanictsc@gmail.com>2025-08-05 19:59:28 +0000
committerRenārs Blumbergs <catanictsc@gmail.com>2025-08-05 19:59:28 +0000
commit80f432895a8e793433e87fe10a2cb1eb9dcbd613 (patch)
tree01743e26cc0a70200ba3433a76dffef4221fc86b /src/map/party.cpp
parent3849649d827d6841c9545cc8644912854781dce0 (diff)
downloadtmwa-master.tar.gz
tmwa-master.tar.bz2
tmwa-master.tar.xz
tmwa-master.zip
Update 7 filesHEADmaster
- /src/admin/ladmin.cpp - /src/char/inter.cpp - /src/map/atcommand.cpp - /src/map/intif.cpp - /src/map/map.hpp - /src/map/party.cpp - /src/map/pc.cpp
Diffstat (limited to 'src/map/party.cpp')
-rw-r--r--src/map/party.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/map/party.cpp b/src/map/party.cpp
index ccbfd75..2210064 100644
--- a/src/map/party.cpp
+++ b/src/map/party.cpp
@@ -250,10 +250,10 @@ int party_recv_info(const PartyPair sp)
{ // 設定情報の送信
// dumb_ptr<map_session_data> sd = map_id2sd(p->member[i].account_id);
dumb_ptr<map_session_data> sd = dumb_ptr<map_session_data>(p->member[i].sd);
- if (sd != nullptr && sd->party_sended == 0)
+ if (sd != nullptr && sd->party_sent == 0)
{
clif_party_option(p, sd, 0x100);
- sd->party_sended = 1;
+ sd->party_sent = 1;
}
}
@@ -393,7 +393,7 @@ int party_member_added(PartyId party_id, AccountId account_id, int flag)
}
// 成功
- sd->party_sended = 0;
+ sd->party_sent = 0;
sd->status.party_id = party_id;
if (sd2 != nullptr)
@@ -476,7 +476,7 @@ int party_member_leaved(PartyId party_id, AccountId account_id, CharName name)
if (sd != nullptr && sd->status.party_id == party_id)
{
sd->status.party_id = PartyId();
- sd->party_sended = 0;
+ sd->party_sent = 0;
}
return 0;
}
@@ -495,7 +495,7 @@ int party_broken(PartyId party_id)
p->member[i].account_id, p->member[i].name,
0x10);
p->member[i].sd->status.party_id = PartyId();
- p->member[i].sd->party_sended = 0;
+ p->member[i].sd->party_sent = 0;
}
}
party_db.erase(party_id);
@@ -582,7 +582,7 @@ int party_send_movemap(dumb_ptr<map_session_data> sd)
return 0;
intif_party_changemap(sd, 1);
- if (sd->party_sended != 0) // もうパーティデータは送信済み
+ if (sd->party_sent != 0) // もうパーティデータは送信済み
return 0;
// 競合確認
@@ -596,7 +596,7 @@ int party_send_movemap(dumb_ptr<map_session_data> sd)
{
clif_party_info(p, sd->sess);
clif_party_option(p, sd, 0x100);
- sd->party_sended = 1;
+ sd->party_sent = 1;
}
}