diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-05-30 18:56:49 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-05-30 18:56:49 +0000 |
commit | 552a4f2ca3c8691a65b254e65c6512e6eb6ddaef (patch) | |
tree | 725b499b620e7612fab58c96eb4ec30096ab3cce /src/map/status.c | |
parent | 58a012ef888ec1b80c714636f64648ba1e272b18 (diff) | |
download | hercules-552a4f2ca3c8691a65b254e65c6512e6eb6ddaef.tar.gz hercules-552a4f2ca3c8691a65b254e65c6512e6eb6ddaef.tar.bz2 hercules-552a4f2ca3c8691a65b254e65c6512e6eb6ddaef.tar.xz hercules-552a4f2ca3c8691a65b254e65c6512e6eb6ddaef.zip |
- Rewrote/cleaned up @petfriendly.
- Cleaned up final part of status_calc_pc (flags 2/4 do not exist)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6857 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r-- | src/map/status.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/map/status.c b/src/map/status.c index 0ef6c3904..6ad8bfa14 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -2051,22 +2051,6 @@ int status_calc_pc(struct map_session_data* sd,int first) status = &sd->battle_status; //Need to compare versus this. // ----- CLIENT-SIDE REFRESH ----- - if(first&4) { - calculating = 0; - return 0; - } - if(first&3) { - clif_updatestatus(sd,SP_SPEED); - clif_updatestatus(sd,SP_MAXHP); - clif_updatestatus(sd,SP_MAXSP); - if(first&1) { - clif_updatestatus(sd,SP_HP); - clif_updatestatus(sd,SP_SP); - } - calculating = 0; - return 0; - } - if(memcmp(b_skill,sd->status.skill,sizeof(sd->status.skill))) clif_skillinfoblock(sd); if(b_status.speed != status->speed) |