diff options
author | Haru <haru@dotalux.com> | 2019-11-17 23:24:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-17 23:24:06 +0100 |
commit | 4062c7a8ab23270590fadf1f804ed912ce26310e (patch) | |
tree | 36aa51dec9f1bf99fc38ffbdd16d3b125392a9ed /src/map/unit.c | |
parent | 6b33c624b0a3d77124a9c2014d36cf2cc9f22d26 (diff) | |
parent | 9a712eea333bd44605355beb9c2d431b4bf2f7fc (diff) | |
download | hercules-4062c7a8ab23270590fadf1f804ed912ce26310e.tar.gz hercules-4062c7a8ab23270590fadf1f804ed912ce26310e.tar.bz2 hercules-4062c7a8ab23270590fadf1f804ed912ce26310e.tar.xz hercules-4062c7a8ab23270590fadf1f804ed912ce26310e.zip |
Merge pull request #2577 from Asheraf/dehardcodestatusicons
Dehardcode Status Icons
Diffstat (limited to 'src/map/unit.c')
-rw-r--r-- | src/map/unit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/unit.c b/src/map/unit.c index 05cb112e3..b9176fa69 100644 --- a/src/map/unit.c +++ b/src/map/unit.c @@ -663,7 +663,7 @@ static void unit_run_hit(struct block_list *bl, struct status_change *sc, struct lv = sc->data[type]->val1; //If you can't run forward, you must be next to a wall, so bounce back. [Skotlex] if( type == SC_RUN ) - clif->sc_load(bl,bl->id,AREA,SI_TING,0,0,0); + clif->sc_load(bl, bl->id, AREA, status->get_sc_icon(SC_TING), 0, 0, 0); ud = unit->bl2ud(bl); nullpo_retv(ud); @@ -675,7 +675,7 @@ static void unit_run_hit(struct block_list *bl, struct status_change *sc, struct if (lv > 0) skill->blown(bl, bl, skill->get_blewcount(TK_RUN, lv), unit->getdir(bl), 0); clif->fixpos(bl); //Why is a clif->slide (skill->blown) AND a fixpos needed? Ask Aegis. - clif->sc_end(bl, bl->id, AREA, SI_TING); + clif->sc_end(bl, bl->id, AREA, status->get_sc_icon(SC_TING)); } else if (sd) { clif->fixpos(bl); skill->castend_damage_id(bl, &sd->bl, RA_WUGDASH, lv, timer->gettick(), SD_LEVEL); |