From bf020baa17543cea62e26b319bf1286afa815451 Mon Sep 17 00:00:00 2001 From: David Markowitz <39972741+EmosewaMC@users.noreply.github.com> Date: Mon, 8 Dec 2025 20:39:33 -0800 Subject: [PATCH] fix: temp fixes for ghosting so I can continue being on break (#1947) * fix: temp fixes for ghosting so I can continue being on break disables the ghost feature for now so i can continue my break * Update GhostComponent.cpp --- dGame/dComponents/GhostComponent.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/dGame/dComponents/GhostComponent.cpp b/dGame/dComponents/GhostComponent.cpp index a354e2c6..d5f3b9bc 100644 --- a/dGame/dComponents/GhostComponent.cpp +++ b/dGame/dComponents/GhostComponent.cpp @@ -89,6 +89,8 @@ void GhostComponent::GhostEntity(LWOOBJID id) { } bool GhostComponent::OnToggleGMInvis(GameMessages::GameMsg& msg) { + // TODO: disabled for now while bugs are fixed + return false; auto& gmInvisMsg = static_cast(msg); gmInvisMsg.bStateOut = !m_IsGMInvisible; m_IsGMInvisible = !m_IsGMInvisible; @@ -118,8 +120,11 @@ bool GhostComponent::OnToggleGMInvis(GameMessages::GameMsg& msg) { bool GhostComponent::OnGetGMInvis(GameMessages::GameMsg& msg) { LOG_DEBUG("GM Invisibility requested: %s", m_IsGMInvisible ? "true" : "false"); auto& gmInvisMsg = static_cast(msg); - gmInvisMsg.bGMInvis = m_IsGMInvisible; - return gmInvisMsg.bGMInvis; + // TODO: disabled for now while bugs are fixed + // gmInvisMsg.bGMInvis = m_IsGMInvisible; + // return gmInvisMsg.bGMInvis; + gmInvisMsg.bGMInvis = false; + return false; } bool GhostComponent::MsgGetObjectReportInfo(GameMessages::GameMsg& msg) {