summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-02-08 21:41:04 -0200
committershennetsind <ind@henn.et>2013-02-08 21:41:04 -0200
commit4b41901d3ecb01930a57e9b1d230e729d5feba38 (patch)
treebd6a08566e9e62d054f0fa9c5b25749228879ded /src/map
parent4c9bfed8c21cb80a806fffc32c7ac629bdf73438 (diff)
downloadhercules-4b41901d3ecb01930a57e9b1d230e729d5feba38.tar.gz
hercules-4b41901d3ecb01930a57e9b1d230e729d5feba38.tar.bz2
hercules-4b41901d3ecb01930a57e9b1d230e729d5feba38.tar.xz
hercules-4b41901d3ecb01930a57e9b1d230e729d5feba38.zip
Fixing a logical issue in ST_RIDING
Diffstat (limited to 'src/map')
-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 cb15f0083..ba720da42 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -13072,7 +13072,7 @@ int skill_check_condition_castbegin(struct map_session_data* sd, uint16 skill_id
}
break;
case ST_RIDING:
- if(!pc_isriding(sd) || !pc_isridingdragon(sd)) {
+ if(!pc_isriding(sd) && !pc_isridingdragon(sd)) {
clif_skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0);
return 0;
}