summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-04-24 16:51:51 -0300
committershennetsind <ind@henn.et>2013-04-24 16:51:51 -0300
commit2df7ce406e3af72859da37f38f4d5d296c3c1461 (patch)
tree5f85253e434edd73264e571762f7f562a94b162f /src/map/skill.c
parent018680a339e96fe28e115f94a9eb0f0816bd72c4 (diff)
downloadhercules-2df7ce406e3af72859da37f38f4d5d296c3c1461.tar.gz
hercules-2df7ce406e3af72859da37f38f4d5d296c3c1461.tar.bz2
hercules-2df7ce406e3af72859da37f38f4d5d296c3c1461.tar.xz
hercules-2df7ce406e3af72859da37f38f4d5d296c3c1461.zip
Hanbok & Costumes Update
http://hercules.ws/board/topic/485-hanbok-costumes-update/ Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 874ad1a26..399212c96 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -512,7 +512,7 @@ int skillnotok (uint16 skill_id, struct map_session_data *sd)
if( sd->skillitem == skill_id )
return 0;
- if( sd->sc.option&OPTION_MOUNTING )
+ if( sd->sc.data[SC_ALL_RIDING] )
return 1;//You can't use skills while in the new mounts (The client doesn't let you, this is to make cheat-safe)
switch (skill_id) {