summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorblackhole89 <blackhole89@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-24 18:35:14 +0000
committerblackhole89 <blackhole89@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-24 18:35:14 +0000
commited8f721679a82f81af62ece387d8cef66b3eec89 (patch)
tree5443fcd2d8dd01e5cf1fe6c438651feaa6a60ff1 /src
parentdc3d23e60aaad210be711844ab24b3a0a2b113aa (diff)
downloadhercules-ed8f721679a82f81af62ece387d8cef66b3eec89.tar.gz
hercules-ed8f721679a82f81af62ece387d8cef66b3eec89.tar.bz2
hercules-ed8f721679a82f81af62ece387d8cef66b3eec89.tar.xz
hercules-ed8f721679a82f81af62ece387d8cef66b3eec89.zip
Replaced !sd->special_state.nocastcancel2 && something to (sd->special_state.nocastcancel2 || something).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5733 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/unit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/unit.c b/src/map/unit.c
index 1e2e2268b..ad76f5145 100644
--- a/src/map/unit.c
+++ b/src/map/unit.c
@@ -1250,8 +1250,8 @@ int unit_skillcastcancel(struct block_list *bl,int type)
if (!ud->state.skillcastcancel)
return 0;
- if (sd && !sd->special_state.no_castcancel2 &&
- !(sd->special_state.no_castcancel && !map_flag_gvg(bl->m)))
+ if (sd && (sd->special_state.no_castcancel2 ||
+ (sd->special_state.no_castcancel && !map_flag_gvg(bl->m)))) //fixed flags being read the wrong way around [blackhole89]
return 0;
}