mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-22 23:48:12 -05:00
implement/match Hospital::HandleKeyPress() (#689)
This commit is contained in:
parent
e1135d9c1d
commit
44f49a7a57
1 changed files with 9 additions and 3 deletions
|
@ -215,11 +215,17 @@ void Hospital::ReadyWorld()
|
|||
FUN_10015820(FALSE, LegoOmni::c_disableInput | LegoOmni::c_disable3d | LegoOmni::c_clearScreen);
|
||||
}
|
||||
|
||||
// STUB: LEGO1 0x10074dd0
|
||||
// FUNCTION: LEGO1 0x10074dd0
|
||||
MxLong Hospital::HandleKeyPress(MxS8 p_key)
|
||||
{
|
||||
// TODO
|
||||
return 0;
|
||||
MxLong result = 0;
|
||||
|
||||
if (p_key == ' ' && g_unk0x100f7918 == 0) {
|
||||
DeleteObjects(&m_atom, HospitalScript::c_hho002cl_RunAnim, HospitalScript::c_hho006cl_RunAnim);
|
||||
result = 1;
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
// STUB: LEGO1 0x10074e00
|
||||
|
|
Loading…
Reference in a new issue