From 0e3104c6b19dbc70bf0828507107018b9b7d38da Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Sun, 8 Mar 2009 12:07:43 -0600 Subject: Remove packet versions from map server --- src/map/pc.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/map/pc.c') diff --git a/src/map/pc.c b/src/map/pc.c index e6efe45..a4f0662 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -1969,12 +1969,7 @@ int pc_calcstatus(struct map_session_data* sd,int first) if(b_class != sd->view_class) { clif_changelook(&sd->bl,LOOK_BASE,sd->view_class); -#if PACKETVER < 4 - pc_set_weapon_look(sd); - clif_changelook(&sd->bl,LOOK_SHIELD,sd->status.shield); -#else clif_changelook(&sd->bl,LOOK_WEAPON,0); -#endif } if( memcmp(b_skill,sd->status.skill,sizeof(sd->status.skill)) || b_attackrange != sd->attackrange) @@ -5816,13 +5811,8 @@ int pc_equiplookall(struct map_session_data *sd) { nullpo_retr(0, sd); -#if PACKETVER < 4 - pc_set_weapon_look(sd); - clif_changelook(&sd->bl,LOOK_SHIELD,sd->status.shield); -#else clif_changelook(&sd->bl,LOOK_WEAPON,0); // clif_changelook(&sd->bl,LOOK_SHOES,0); -#endif clif_changelook(&sd->bl,LOOK_HEAD_BOTTOM,sd->status.head_bottom); clif_changelook(&sd->bl,LOOK_HEAD_TOP,sd->status.head_top); clif_changelook(&sd->bl,LOOK_HEAD_MID,sd->status.head_mid); -- cgit v1.2.3-70-g09d2