Use enum values for LegoPathStructNotificationParam.GetTrigger() (#1625)

This commit is contained in:
Fabian Neundorf
2025-07-14 22:18:21 +02:00
committed by GitHub
parent e155bea7fd
commit 3b79b4c834
2 changed files with 2 additions and 2 deletions

View File

@@ -179,7 +179,7 @@ MxLong CarRace::HandlePathStruct(LegoPathStructNotificationParam& p_param)
{
MxLong result = 0;
if (p_param.GetTrigger() == 68) {
if (p_param.GetTrigger() == LegoPathStruct::c_d) {
MxEntity* sender = (MxEntity*) p_param.GetSender();
MxS32 paramData = p_param.GetData();