mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-28 18:51:16 +00:00
Fix HandleKeyPress
This commit is contained in:
parent
62c1e7e0f9
commit
8eb2a97f36
@ -42,7 +42,7 @@ class Police : public LegoWorld {
|
||||
private:
|
||||
MxLong HandleNotification11(MxNotificationParam& p_param);
|
||||
MxLong HandleEndAction(MxEndActionNotificationParam& p_param);
|
||||
MxLong HandleKeyPress(MxS8 p_key);
|
||||
MxLong HandleKeyPress(LegoEventNotificationParam& p_param);
|
||||
|
||||
Radio m_radio; // 0xf8
|
||||
PoliceState* m_policeState; // 0x108
|
||||
|
||||
@ -71,7 +71,7 @@ MxLong Police::Notify(MxParam& p_param)
|
||||
result = HandleEndAction((MxEndActionNotificationParam&) p_param);
|
||||
break;
|
||||
case c_notificationKeyPress:
|
||||
result = HandleKeyPress(((LegoEventNotificationParam&) p_param).GetKey());
|
||||
result = HandleKeyPress(((LegoEventNotificationParam&) p_param));
|
||||
break;
|
||||
case c_notificationType11:
|
||||
result = HandleNotification11((MxNotificationParam&) p_param);
|
||||
@ -108,7 +108,7 @@ MxLong Police::HandleEndAction(MxEndActionNotificationParam& p_param)
|
||||
}
|
||||
|
||||
// STUB: LEGO1 0x1005e6f0
|
||||
MxLong Police::HandleKeyPress(MxS8 p_key)
|
||||
MxLong Police::HandleKeyPress(LegoEventNotificationParam& p_param)
|
||||
{
|
||||
// TODO
|
||||
return 0;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user