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

committed by
GitHub

parent
77af1a5483
commit
b67af71f33
@@ -297,7 +297,7 @@ MxLong GasStation::HandleEndAction(MxEndActionNotificationParam& p_param)
|
||||
// FUNCTION: LEGO1 0x10005920
|
||||
MxLong GasStation::HandleKeyPress(MxS8 p_key)
|
||||
{
|
||||
if (p_key == ' ' && g_unk0x100f0160 == 0 && this->m_unk0x106 != 0) {
|
||||
if (p_key == VK_SPACE && g_unk0x100f0160 == 0 && m_unk0x106 != 0) {
|
||||
m_state->FUN_10006490();
|
||||
return 1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user