diff options
author | Haru <haru@dotalux.com> | 2013-09-27 00:55:25 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2013-09-27 00:55:25 +0200 |
commit | 17bc1fab375f8ecc951fbba058a346b1460bf783 (patch) | |
tree | 7d51b5eda324985925b153b34441298f3e9bac21 /src/map/map.c | |
parent | 3e5bca5a3df07320ff5c41edbb282df041c36f66 (diff) | |
download | hercules-17bc1fab375f8ecc951fbba058a346b1460bf783.tar.gz hercules-17bc1fab375f8ecc951fbba058a346b1460bf783.tar.bz2 hercules-17bc1fab375f8ecc951fbba058a346b1460bf783.tar.xz hercules-17bc1fab375f8ecc951fbba058a346b1460bf783.zip |
Renamed iStatus interface to status
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/map.c')
-rw-r--r-- | src/map/map.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/map/map.c b/src/map/map.c index d57fc583a..1d679a79e 100644 --- a/src/map/map.c +++ b/src/map/map.c @@ -361,7 +361,7 @@ int map_moveblock(struct block_list *bl, int x1, int y1, unsigned int tick) //TODO: Perhaps some outs of bounds checking should be placed here? if (bl->type&BL_CHAR) { - sc = iStatus->get_sc(bl); + sc = status->get_sc(bl); skill->unit_move(bl,tick,2); status_change_end(bl, SC_RG_CCONFINE_M, INVALID_TIMER); @@ -1562,7 +1562,7 @@ int map_quit(struct map_session_data *sd) { if( sd->sc.count ) { //Status that are not saved... for(i=0; i < SC_MAX; i++){ - if ( iStatus->get_sc_type(i)&SC_NO_SAVE ){ + if ( status->get_sc_type(i)&SC_NO_SAVE ) { if ( !sd->sc.data[i] ) continue; switch( i ){ @@ -4927,7 +4927,7 @@ void do_final(void) homun->final(); atcommand->final_msg(); skill->final(); - iStatus->do_final_status(); + status->final(); unit->final(); bg->final(); duel->final(); @@ -5140,7 +5140,7 @@ void map_hp_symbols(void) { HPM->share(party,"party"); HPM->share(storage,"storage"); HPM->share(trade,"trade"); - HPM->share(iStatus,"iStatus"); + HPM->share(status,"status"); HPM->share(chat, "chat"); HPM->share(duel,"duel"); HPM->share(elemental,"elemental"); @@ -5399,7 +5399,7 @@ int do_init(int argc, char *argv[]) read_map_zone_db();/* read after item and skill initalization */ mob->init(); pc->do_init_pc(); - iStatus->do_init_status(); + status->init(); party->do_init_party(); guild->init(); storage->init(); |