From b79ad49c52b6ee51d57e6dd36fdcabdf9b05bc0a Mon Sep 17 00:00:00 2001 From: Exynox Date: Sat, 9 Dec 2023 21:49:53 +0200 Subject: [PATCH] Fixed invisibility bug on login --- src/game/src/char_affect.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/game/src/char_affect.cpp b/src/game/src/char_affect.cpp index 0d0a6e0..0766a5b 100644 --- a/src/game/src/char_affect.cpp +++ b/src/game/src/char_affect.cpp @@ -696,6 +696,11 @@ bool CHARACTER::RemoveAffect(CAffect * pkAff) { ComputePoints(); } + else + { + // Fix invisibility bug on login/revive/teleport + UpdatePacket(); + } CheckMaximumPoints(); if (test_server)