summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorprotimus <protimus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-04-03 21:18:23 +0000
committerprotimus <protimus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-04-03 21:18:23 +0000
commit2b6c40327a3e05a18bbfabd319a0735d75fbb8e9 (patch)
tree3f0a2b66c6a93c0397266f0fabc844fe8c121dee /src/map/pc.c
parentb81e90566e729d2020e8f09a1d1bc86d25bad315 (diff)
downloadhercules-2b6c40327a3e05a18bbfabd319a0735d75fbb8e9.tar.gz
hercules-2b6c40327a3e05a18bbfabd319a0735d75fbb8e9.tar.bz2
hercules-2b6c40327a3e05a18bbfabd319a0735d75fbb8e9.tar.xz
hercules-2b6c40327a3e05a18bbfabd319a0735d75fbb8e9.zip
Cleanup of conditions for old clients.
- No one use versions as old, besides being advised to keep up to date. - Informations of packets will be maintained, the cleanup is just for conditions. Please do not remove old packet information, it is useful for future searches. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15828 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 14d12ca5a..5d47f13cf 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -5356,12 +5356,10 @@ int pc_gainexp(struct map_session_data *sd, struct block_list *src, unsigned int
clif_updatestatus(sd,SP_JOBEXP);
}
-#if PACKETVER >= 20091027
if(base_exp)
clif_displayexp(sd, base_exp, SP_BASEEXP, quest);
if(job_exp)
clif_displayexp(sd, job_exp, SP_JOBEXP, quest);
-#endif
if(sd->state.showexp) {
char output[256];
sprintf(output,
@@ -6867,13 +6865,8 @@ int pc_equiplookall(struct map_session_data *sd)
{
nullpo_ret(sd);
-#if PACKETVER < 4
- clif_changelook(&sd->bl,LOOK_WEAPON,sd->status.weapon);
- 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);