Rename enum

This commit is contained in:
Christian Semmler 2024-01-17 10:58:29 -05:00
parent bdf9677246
commit 91fb8515c8
3 changed files with 3 additions and 3 deletions

View File

@ -10,7 +10,7 @@
// SIZE 0x20
class LegoEventNotificationParam : public MxNotificationParam {
public:
inline LegoEventNotificationParam() : MxNotificationParam(c_notificationNone, NULL) {}
inline LegoEventNotificationParam() : MxNotificationParam(c_notificationType0, NULL) {}
inline LegoEventNotificationParam(
NotificationId p_type,
MxCore* p_sender,

View File

@ -84,7 +84,7 @@ MxLong Infocenter::Notify(MxParam& p_param)
if (m_worldStarted) {
switch (((MxNotificationParam&) p_param).GetNotification()) {
case 0:
case c_notificationType0:
result = HandleNotification0(p_param);
break;
case c_notificationEndAction:

View File

@ -8,7 +8,7 @@
class MxCore;
enum NotificationId {
c_notificationNone = 0,
c_notificationType0 = 0,
c_notificationStartAction = 1, // 100dc210:100d8350
c_notificationEndAction = 2, // 100d8358:100d8350
c_notificationType4 = 4, // 100dc208:100d8350