diff options
author | xazax-hun <xazax-hun@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-04-25 18:22:00 +0000 |
---|---|---|
committer | xazax-hun <xazax-hun@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-04-25 18:22:00 +0000 |
commit | 11c2d016d40070f1895d88c0eb7bb88079555cfd (patch) | |
tree | c0b0a1d761b782087e34cc19d6058beeff587e4e /src/map/clif.c | |
parent | 2719529fe331896a79bb31770629bafac059acb3 (diff) | |
download | hercules-11c2d016d40070f1895d88c0eb7bb88079555cfd.tar.gz hercules-11c2d016d40070f1895d88c0eb7bb88079555cfd.tar.bz2 hercules-11c2d016d40070f1895d88c0eb7bb88079555cfd.tar.xz hercules-11c2d016d40070f1895d88c0eb7bb88079555cfd.zip |
* Code consistency updates. No functional changes. Credits to Lighta.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15974 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r-- | src/map/clif.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index 62ead6c1b..3c2e7e51d 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -1367,9 +1367,9 @@ int clif_spawn(struct block_list *bl) case BL_NPC: { TBL_NPC *nd = ((TBL_NPC*)bl); - if( nd->size == 2 ) + if( nd->size == SZ_BIG ) clif_specialeffect(&nd->bl,423,AREA); - else if( nd->size == 1 ) + else if( nd->size == SZ_MEDIUM ) clif_specialeffect(&nd->bl,421,AREA); } break; @@ -4050,18 +4050,18 @@ void clif_getareachar_unit(struct map_session_data* sd,struct block_list *bl) TBL_NPC* nd = (TBL_NPC*)bl; if( nd->chat_id ) clif_dispchat((struct chat_data*)map_id2bl(nd->chat_id),sd->fd); - if( nd->size == 2 ) + if( nd->size == SZ_BIG ) clif_specialeffect_single(bl,423,sd->fd); - else if( nd->size == 1 ) + else if( nd->size == SZ_MEDIUM ) clif_specialeffect_single(bl,421,sd->fd); } break; case BL_MOB: { TBL_MOB* md = (TBL_MOB*)bl; - if(md->special_state.size==2) // tiny/big mobs [Valaris] + if(md->special_state.size==SZ_BIG) // tiny/big mobs [Valaris] clif_specialeffect_single(bl,423,sd->fd); - else if(md->special_state.size==1) + else if(md->special_state.size==SZ_MEDIUM) clif_specialeffect_single(bl,421,sd->fd); } break; @@ -15757,7 +15757,7 @@ int clif_spellbook_list(struct map_session_data *sd) sd->menuskill_val = c; } else - status_change_end(&sd->bl,SC_STOP,-1); + status_change_end(&sd->bl,SC_STOP,INVALID_TIMER); return 1; } |