summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-03-19 19:42:44 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-03-19 19:42:44 +0000
commit02019804bf350fa760eaf4bfa6452091d67364c0 (patch)
treeb135768682fd3b1575d3c87e926f8150569be530 /src/map/skill.c
parenta0997fb3222f39d4da43b593578e90f8554f6b68 (diff)
downloadhercules-02019804bf350fa760eaf4bfa6452091d67364c0.tar.gz
hercules-02019804bf350fa760eaf4bfa6452091d67364c0.tar.bz2
hercules-02019804bf350fa760eaf4bfa6452091d67364c0.tar.xz
hercules-02019804bf350fa760eaf4bfa6452091d67364c0.zip
Added the official sitting icon support, now while sitting a ugly icon will be displayed in the buff bar. thanks to keikun for providing the id, curse him as much as you like for the icon being horribly ugly <3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15732 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 0c1d042d0..aee08d304 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -12649,6 +12649,12 @@ int skill_sit (struct map_session_data *sd, int type)
range = skill_get_splash(TK_SPTIME, lv);
}
+ if( type ) {
+ clif_status_load(&sd->bl,SI_SITTING,1);
+ } else {
+ clif_status_load(&sd->bl,SI_SITTING,0);
+ }
+
if (!flag) return 0;
if(type) {