From 846dfd9bb4f21dd4622d289223d8d0785f28e35b Mon Sep 17 00:00:00 2001 From: Singe Horizontal <62802903+Singe-Horizontal@users.noreply.github.com> Date: Wed, 17 Aug 2022 18:17:13 +0200 Subject: [PATCH] Fixes after song visual effect bug (#7190) * Fixes #7163. * Resolves an issue where the Moonlight effect would be displayed when ending a dance/song. --- src/map/status.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/map/status.cpp b/src/map/status.cpp index bf9824a2ab..41ae32a59d 100644 --- a/src/map/status.cpp +++ b/src/map/status.cpp @@ -12474,7 +12474,7 @@ int status_change_start(struct block_list* src, struct block_list* bl,enum sc_ty switch(type) { case SC_DANCING: - if ((val1&0xFFFF) != CG_MOONLIT) + if ((val1&0xFFFF) == CG_MOONLIT) sc->opt3 |= OPT3_MOONLIT; break; case SC_INCATKRATE: