diff options
author | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-12-29 13:23:05 +0000 |
---|---|---|
committer | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-12-29 13:23:05 +0000 |
commit | 3beb7c2e05cc09ac075be6b6a0538db12ad77bf1 (patch) | |
tree | 90a9432492332ada53ef5db805a39feccfacadc1 /src/map/status.c | |
parent | a5214bc600605749134ae7d7861254201e7ce63b (diff) | |
download | hercules-3beb7c2e05cc09ac075be6b6a0538db12ad77bf1.tar.gz hercules-3beb7c2e05cc09ac075be6b6a0538db12ad77bf1.tar.bz2 hercules-3beb7c2e05cc09ac075be6b6a0538db12ad77bf1.tar.xz hercules-3beb7c2e05cc09ac075be6b6a0538db12ad77bf1.zip |
(AoE) skills continue to trigger even if character is dead, official behavior; bugreport:5170
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15303 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r-- | src/map/status.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c index db204f2f9..43205ac34 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -1298,7 +1298,7 @@ int status_check_skilluse(struct block_list *src, struct block_list *target, int status = src?status_get_status_data(src):&dummy_status; - if (src && status_isdead(src)) + if (src && src->type != BL_PC && status_isdead(src)) return 0; if (!skill_num) { //Normal attack checks. |