mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 08:24:16 +00:00
Make NotificationManager::Send take a const reference to notification (#836)
* Make NotificationManager::Send take a const reference to notification * Fix virtual func
This commit is contained in:

committed by
GitHub

parent
0e0d6890ad
commit
f1688be263
@@ -19,7 +19,7 @@ public:
|
||||
};
|
||||
|
||||
// FUNCTION: LEGO1 0x10028690
|
||||
MxNotificationParam* Clone() override
|
||||
MxNotificationParam* Clone() const override
|
||||
{
|
||||
LegoEventNotificationParam* clone =
|
||||
new LegoEventNotificationParam(m_type, m_sender, m_modifier, m_x, m_y, m_key);
|
||||
|
@@ -187,7 +187,7 @@ public:
|
||||
void DeleteObject(MxDSAction& p_dsAction) override; // vtable+24
|
||||
MxBool DoesEntityExist(MxDSAction& p_dsAction) override; // vtable+28
|
||||
MxEntity* AddToWorld(const char* p_id, MxS32 p_entityId, MxPresenter* p_presenter) override; // vtable+30
|
||||
void NotifyCurrentEntity(MxNotificationParam* p_param) override; // vtable+34
|
||||
void NotifyCurrentEntity(const MxNotificationParam& p_param) override; // vtable+34
|
||||
void StartTimer() override; // vtable+38
|
||||
void StopTimer() override; // vtable+3c
|
||||
|
||||
|
Reference in New Issue
Block a user