From c8e357dcabff8dc2fdeae002682aef242d46cf72 Mon Sep 17 00:00:00 2001 From: "Guilherme G. Menaldo" Date: Thu, 8 Feb 2024 23:30:48 -0300 Subject: [PATCH] Remove special dispell logic for songs in RE Since RE no longer has "song areas", this check does not make sense for RE --- src/map/skill.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/map/skill.c b/src/map/skill.c index 6ec8e1ffae2..ca240ca23e5 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -8813,6 +8813,7 @@ static int skill_castend_nodamage_id(struct block_list *src, struct block_list * continue; } switch (i) { +#ifndef RENEWAL /** * bugreport:4888 these songs may only be dispelled if you're not in their song area anymore **/ @@ -8824,9 +8825,11 @@ static int skill_castend_nodamage_id(struct block_list *src, struct block_list * case SC_DONTFORGETME: case SC_FORTUNE: case SC_SERVICEFORYOU: - if( tsc->data[i]->val4 ) //val4 = out-of-song-area + if (tsc->data[i]->val4 != 0) // val4 = out-of-song-area continue; break; +#endif + case SC_ASSUMPTIO: if( bl->type == BL_MOB ) continue;