diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2012-12-20 21:14:24 -0800 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2012-12-24 10:02:20 -0800 |
commit | ace159199161f555d6e13d05ccc374166ff375b6 (patch) | |
tree | d4cafca9f2733f99cc81d9f63b9f1f9172152023 /src/map/intif.cpp | |
parent | 2b092c150e1226decc48160316070fc44d5fbba0 (diff) | |
download | tmwa-ace159199161f555d6e13d05ccc374166ff375b6.tar.gz tmwa-ace159199161f555d6e13d05ccc374166ff375b6.tar.bz2 tmwa-ace159199161f555d6e13d05ccc374166ff375b6.tar.xz tmwa-ace159199161f555d6e13d05ccc374166ff375b6.zip |
Purge some unused functions
Diffstat (limited to 'src/map/intif.cpp')
-rw-r--r-- | src/map/intif.cpp | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/src/map/intif.cpp b/src/map/intif.cpp index 0107155..87ea5d0 100644 --- a/src/map/intif.cpp +++ b/src/map/intif.cpp @@ -63,7 +63,7 @@ int intif_GMmessage(const char *mes, int len, int flag) int intif_wis_message(struct map_session_data *sd, const char *nick, const char *mes, int mes_len) { - nullpo_retr(0, sd); + nullpo_ret(sd); WFIFOW(inter_fd, 0) = 0x3001; WFIFOW(inter_fd, 2) = mes_len + 52; @@ -117,7 +117,7 @@ int intif_saveaccountreg(struct map_session_data *sd) { int j, p; - nullpo_retr(0, sd); + nullpo_ret(sd); WFIFOW(inter_fd, 0) = 0x3004; WFIFOL(inter_fd, 4) = sd->bl.id; @@ -134,7 +134,7 @@ int intif_saveaccountreg(struct map_session_data *sd) // アカウント変数要求 int intif_request_accountreg(struct map_session_data *sd) { - nullpo_retr(0, sd); + nullpo_ret(sd); WFIFOW(inter_fd, 0) = 0x3005; WFIFOL(inter_fd, 2) = sd->bl.id; @@ -154,7 +154,7 @@ int intif_request_storage(int account_id) // 倉庫データ送信 int intif_send_storage(struct storage *stor) { - nullpo_retr(0, stor); + nullpo_ret(stor); WFIFOW(inter_fd, 0) = 0x3011; WFIFOW(inter_fd, 2) = sizeof(struct storage) + 8; WFIFOL(inter_fd, 4) = stor->account_id; @@ -166,7 +166,7 @@ int intif_send_storage(struct storage *stor) // パーティ作成要求 int intif_create_party(struct map_session_data *sd, const char *name) { - nullpo_retr(0, sd); + nullpo_ret(sd); WFIFOW(inter_fd, 0) = 0x3020; WFIFOL(inter_fd, 2) = sd->status.account_id; @@ -253,15 +253,6 @@ int intif_party_changemap(struct map_session_data *sd, int online) return 0; } -// パーティー解散要求 -int intif_break_party(int party_id) -{ - WFIFOW(inter_fd, 0) = 0x3026; - WFIFOL(inter_fd, 2) = party_id; - WFIFOSET(inter_fd, 6); - return 0; -} - // パーティ会話送信 int intif_party_message(int party_id, int account_id, const char *mes, int len) { |