summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorInkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-11-02 14:31:24 +0000
committerInkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-11-02 14:31:24 +0000
commit04b3dda0bc65e465782bbc3b85b6a09ed8bb832d (patch)
tree071fdfb776e3ab642301937f3b6c0e2a9f51b0c5 /src/map/skill.c
parent0bd338e806317f7ed248e379da14b6be250242f4 (diff)
downloadhercules-04b3dda0bc65e465782bbc3b85b6a09ed8bb832d.tar.gz
hercules-04b3dda0bc65e465782bbc3b85b6a09ed8bb832d.tar.bz2
hercules-04b3dda0bc65e465782bbc3b85b6a09ed8bb832d.tar.xz
hercules-04b3dda0bc65e465782bbc3b85b6a09ed8bb832d.zip
* Quick fix to char command checking gm level of the target player instead of the command user (bugreport:3255).
* Disalbed @jump/@jumpto usage when dead. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14117 54d463be-8e91-2dee-dedb-b68131a5f0ec
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 7b995399d..020f8dc27 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -5256,7 +5256,7 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
// Slim Pitcher
case CR_SLIMPITCHER:
// Updated to block Slim Pitcher from working on barricades and guardian stones.
- if( ( dstmd && dstmd->class_ == MOBID_EMPERIUM ) || ( dstmd && dstmd->class_ >= MOBID_BARRICADE1 && dstmd && dstmd->class_ <= MOBID_GUARIDAN_STONE2 ) )
+ if( dstmd && (dstmd->class_ == MOBID_EMPERIUM || (dstmd->class_ >= MOBID_BARRICADE1 && dstmd->class_ <= MOBID_GUARIDAN_STONE2)) )
break;
if (potion_hp || potion_sp) {
int hp = potion_hp, sp = potion_sp;