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.
This commit is contained in:
Andreas Maerten 2023-07-11 10:02:55 +02:00 committed by GitHub
parent 15745eebe1
commit 47891cbcae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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<hooks::can_apply_data>()(tree, object);
}
}
}