summaryrefslogtreecommitdiff
path: root/src/map/party.cpp
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2014-02-03 10:05:00 -0800
committerBen Longbons <b.r.longbons@gmail.com>2014-02-04 12:22:33 -0800
commit9544985ccbb20d7f8377c63a4e59d1ff97b844ac (patch)
tree764351426278353e63f3ca7e3c25c6cf01427311 /src/map/party.cpp
parentc39691d2f3852e81c0cfd49331e01a0e263591e2 (diff)
downloadtmwa-9544985ccbb20d7f8377c63a4e59d1ff97b844ac.tar.gz
tmwa-9544985ccbb20d7f8377c63a4e59d1ff97b844ac.tar.bz2
tmwa-9544985ccbb20d7f8377c63a4e59d1ff97b844ac.tar.xz
tmwa-9544985ccbb20d7f8377c63a4e59d1ff97b844ac.zip
Convert fd to Session* where meaningful
Diffstat (limited to 'src/map/party.cpp')
-rw-r--r--src/map/party.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/map/party.cpp b/src/map/party.cpp
index 9d7cae2..09f103e 100644
--- a/src/map/party.cpp
+++ b/src/map/party.cpp
@@ -205,7 +205,7 @@ int party_recv_info(const struct party *sp)
&& sd->status.party_id == p->party_id) ? sd.operator->() : NULL;
}
- clif_party_info(p, -1);
+ clif_party_info(p, nullptr);
for (i = 0; i < MAX_PARTY; i++)
{ // 設定情報の送信
@@ -231,7 +231,7 @@ int party_invite(dumb_ptr<map_session_data> sd, int account_id)
nullpo_ret(sd);
- if (!tsd || !p || !tsd->fd)
+ if (!tsd || !p || !tsd->sess)
return 0;
if (!battle_config.invite_request_check)
@@ -540,7 +540,7 @@ void party_recv_movemap(int party_id, int account_id, MapName mapname,
party_send_xy_clear(p); // 座標再通知要請
- clif_party_info(p, -1);
+ clif_party_info(p, nullptr);
}
// パーティメンバの移動
@@ -566,7 +566,7 @@ int party_send_movemap(dumb_ptr<map_session_data> sd)
party_check_member(p); // 所属を確認する
if (sd->status.party_id == p->party_id)
{
- clif_party_info(p, sd->fd);
+ clif_party_info(p, sd->sess);
clif_party_option(p, sd, 0x100);
sd->party_sended = 1;
}