summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authoreathenabot <eathenabot@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-01-17 06:53:19 +0000
committereathenabot <eathenabot@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-01-17 06:53:19 +0000
commit00163cbb0bdf654bfc8a04ef9e7f5e9f2efad706 (patch)
tree392f5a42264939994bafb438f71d697d05253047 /src/map/clif.c
parentc5460b307a161cc0ff7209e04d278ff8ed131ba6 (diff)
downloadhercules-00163cbb0bdf654bfc8a04ef9e7f5e9f2efad706.tar.gz
hercules-00163cbb0bdf654bfc8a04ef9e7f5e9f2efad706.tar.bz2
hercules-00163cbb0bdf654bfc8a04ef9e7f5e9f2efad706.tar.xz
hercules-00163cbb0bdf654bfc8a04ef9e7f5e9f2efad706.zip
* Merged changes up to eAthena 15061.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15477 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c27
1 files changed, 3 insertions, 24 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 9f80ba8db..2676499fe 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -6218,27 +6218,6 @@ int clif_hpmeter(struct map_session_data *sd)
}
/*==========================================
- * (?) Server tells 'sd' party members that 'sd' state 'changed'
- *------------------------------------------*/
-void clif_party_move(struct party* p, struct map_session_data* sd, int online)
-{
- unsigned char buf[128];
-
- nullpo_retv(sd);
- nullpo_retv(p);
-
- WBUFW(buf, 0) = 0x104;
- WBUFL(buf, 2) = sd->status.account_id;
- WBUFL(buf, 6) = 0;
- WBUFW(buf,10) = sd->bl.x;
- WBUFW(buf,12) = sd->bl.y;
- WBUFB(buf,14) = !online;
- memcpy(WBUFP(buf,15),p->name, NAME_LENGTH);
- memcpy(WBUFP(buf,39),sd->status.name, NAME_LENGTH);
- mapindex_getmapname_ext(map[sd->bl.m].name, (char*)WBUFP(buf,63));
- clif_send(buf,packet_len(0x104),&sd->bl,PARTY);
-}
-/*==========================================
* Server tells client to attack bl, if not in range of attack (rhw.range) it'll move to bl
* called from unit.c
*------------------------------------------*/
@@ -13994,7 +13973,7 @@ void clif_bg_hp(struct map_session_data *sd)
{
unsigned char buf[34];
const int cmd = 0x2e0;
- nullpo_ret(sd);
+ nullpo_retv(sd);
WBUFW(buf,0) = cmd;
WBUFL(buf,2) = sd->status.account_id;
@@ -14017,7 +13996,7 @@ void clif_bg_hp(struct map_session_data *sd)
void clif_bg_xy(struct map_session_data *sd)
{
unsigned char buf[36];
- nullpo_ret(sd);
+ nullpo_retv(sd);
WBUFW(buf,0)=0x2df;
WBUFL(buf,2)=sd->status.account_id;
@@ -14032,7 +14011,7 @@ void clif_bg_xy(struct map_session_data *sd)
void clif_bg_xy_remove(struct map_session_data *sd)
{
unsigned char buf[36];
- nullpo_ret(sd);
+ nullpo_retv(sd);
WBUFW(buf,0)=0x2df;
WBUFL(buf,2)=sd->status.account_id;