diff options
author | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-06-04 16:24:37 +0000 |
---|---|---|
committer | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-06-04 16:24:37 +0000 |
commit | 47408b74369ba8f49f7b1d2caa453557b66ede0f (patch) | |
tree | 799cc9b1fcf166b77c1eea53d7a325a4439a1695 /src/map/status.c | |
parent | 4a6222bdc0279f78e44fc1dbce66d3eeeac88e17 (diff) | |
download | hercules-47408b74369ba8f49f7b1d2caa453557b66ede0f.tar.gz hercules-47408b74369ba8f49f7b1d2caa453557b66ede0f.tar.bz2 hercules-47408b74369ba8f49f7b1d2caa453557b66ede0f.tar.xz hercules-47408b74369ba8f49f7b1d2caa453557b66ede0f.zip |
Follow up r16231 now I *think* I fixed the indentation problem with my IDE
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16232 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r-- | src/map/status.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/map/status.c b/src/map/status.c index 1ceba9c95..ba6e3631f 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -6002,7 +6002,7 @@ int status_change_start(struct block_list* bl,enum sc_type type,int rate,int val struct status_data *status; struct view_data *vd; int opt_flag, calc_flag, undead_flag, val_flag = 0, tick_time = 0; - bool sc_isnew = true; + bool sc_isnew = true; nullpo_ret(bl); sc = status_get_sc(bl); @@ -8275,7 +8275,7 @@ int status_change_start(struct block_list* bl,enum sc_type type,int rate,int val if((sce=sc->data[type])) {// reuse old sc if( sce->timer != INVALID_TIMER ) delete_timer(sce->timer, status_change_timer); - sc_isnew = false; + sc_isnew = false; } else {// new sc ++(sc->count); sce = sc->data[type] = ers_alloc(sc_data_ers, struct status_change_entry); @@ -8292,8 +8292,8 @@ int status_change_start(struct block_list* bl,enum sc_type type,int rate,int val if (calc_flag) status_calc_bl(bl,calc_flag); - if ( sc_isnew && StatusChangeStateTable[type] ) /* non-zero */ - status_calc_state(bl,sc,( enum scs_flag ) StatusChangeStateTable[type],true); + if ( sc_isnew && StatusChangeStateTable[type] ) /* non-zero */ + status_calc_state(bl,sc,( enum scs_flag ) StatusChangeStateTable[type],true); if(sd && sd->pd) |