- Fixed a bug. Warp portal cannot be casted on dead players.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13104 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
c2ba03b6e2
commit
75acf439cf
@ -1858,10 +1858,11 @@ static int skill_check_unit_range2_sub (struct block_list *bl, va_list ap)
|
||||
if(bl->prev == NULL)
|
||||
return 0;
|
||||
|
||||
if(status_isdead(bl))
|
||||
skillid = va_arg(ap,int);
|
||||
|
||||
if( status_isdead(bl) && skillid != AL_WARP )
|
||||
return 0;
|
||||
|
||||
skillid = va_arg(ap,int);
|
||||
if( skillid == HP_BASILICA && bl->type == BL_PC )
|
||||
return 0;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user