mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 08:24:16 +00:00
Improve naming, use virtual key constants (#979)
This commit is contained in:

committed by
GitHub

parent
77af1a5483
commit
b67af71f33
@@ -226,7 +226,7 @@ MxLong Hospital::HandleKeyPress(MxS8 p_key)
|
||||
{
|
||||
MxLong result = 0;
|
||||
|
||||
if (p_key == ' ' && g_unk0x100f7918 == 0) {
|
||||
if (p_key == VK_SPACE && g_unk0x100f7918 == 0) {
|
||||
DeleteObjects(&m_atom, HospitalScript::c_hho002cl_RunAnim, HospitalScript::c_hho006cl_RunAnim);
|
||||
result = 1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user