From 47891cbcae2f48d2ecbe83c89ec81a963d78a58e Mon Sep 17 00:00:00 2001 From: Andreas Maerten <24669514+Yimura@users.noreply.github.com> Date: Tue, 11 Jul 2023 10:02:55 +0200 Subject: [PATCH] chore(CanApply): remove notifications for sector and train prots (#1679) * chore(CanApply): remove notifications for sector and train prots * revert: partial revert @maybegreat48 will be implementing a fix for the false positives. --- src/hooks/protections/can_apply_data.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hooks/protections/can_apply_data.cpp b/src/hooks/protections/can_apply_data.cpp index 3b5c4502..6891502e 100644 --- a/src/hooks/protections/can_apply_data.cpp +++ b/src/hooks/protections/can_apply_data.cpp @@ -899,7 +899,7 @@ namespace big const auto train_node = (CTrainGameStateDataNode*)(node); if (train_node->m_track_id < 0 || train_node->m_track_id >= 27) { - notify::crash_blocked(sender, "out of bounds train track index"); + // notify::crash_blocked(sender, "out of bounds train track index"); return true; } break; @@ -958,4 +958,4 @@ namespace big return g_hooking->get_original()(tree, object); } -} \ No newline at end of file +}