mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-22 16:04:17 +00:00
Use enum values for LegoPathStructNotificationParam.GetTrigger()
(#1625)
This commit is contained in:
@@ -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()) {
|
||||
|
Reference in New Issue
Block a user