summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-03-28 05:43:03 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-03-28 05:43:03 +0000
commitb340ca4c2429e7b6320e3b3b81a079bd1ab9ccdc (patch)
tree2698a5aed724ce76563dfb1cf27c0a95281ff6ec /src/map/battle.c
parent24ae84fd70124f57a94da489588df39ea09f3d00 (diff)
downloadhercules-b340ca4c2429e7b6320e3b3b81a079bd1ab9ccdc.tar.gz
hercules-b340ca4c2429e7b6320e3b3b81a079bd1ab9ccdc.tar.bz2
hercules-b340ca4c2429e7b6320e3b3b81a079bd1ab9ccdc.tar.xz
hercules-b340ca4c2429e7b6320e3b3b81a079bd1ab9ccdc.zip
Fixed bugreport:5515 targets in manhole may now be targeted by shadow form.
Also fixed manhole appearance changing to a trap when activated. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15813 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index 28c4f2816..672dc3d74 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -4356,7 +4356,7 @@ int battle_check_target( struct block_list *src, struct block_list *target,int f
switch( target->type )
{ // Checks on actual target
case BL_PC:
- if (((TBL_PC*)target)->invincible_timer != INVALID_TIMER || pc_isinvisible((TBL_PC*)target) || ((TBL_PC*)target)->sc.data[SC__MANHOLE])
+ if (((TBL_PC*)target)->invincible_timer != INVALID_TIMER || pc_isinvisible((TBL_PC*)target))
return -1; //Cannot be targeted yet.
break;
case BL_MOB: