mirror of
https://github.com/isledecomp/isle-portable.git
synced 2025-09-23 03:55:44 -04:00
Use enum values for LegoPathStructNotificationParam.GetTrigger()
(#1625)
This commit is contained in:
parent
e155bea7fd
commit
3b79b4c834
@ -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();
|
||||
|
||||
|
@ -158,7 +158,7 @@ MxLong JetskiRace::HandlePathStruct(LegoPathStructNotificationParam& p_param)
|
||||
MxLong result = 0;
|
||||
MxEntity* sender = (MxEntity*) p_param.GetSender();
|
||||
|
||||
if (p_param.GetTrigger() == 68) {
|
||||
if (p_param.GetTrigger() == LegoPathStruct::c_d) {
|
||||
MxS32 paramData = p_param.GetData();
|
||||
|
||||
switch (sender->GetEntityId()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user