mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 08:24:16 +00:00
Rename Start/StopTimer to Pause/Resume (#1007)
* Rename Start/StopTimer to Pause/Resume * Fix
This commit is contained in:

committed by
GitHub

parent
9bc5c26bcc
commit
be4c351d7d
@@ -607,11 +607,11 @@ MxLong LegoNavController::Notify(MxParam& p_param)
|
||||
|
||||
switch (((LegoEventNotificationParam&) p_param).GetKey()) {
|
||||
case VK_PAUSE:
|
||||
if (Lego()->IsTimerRunning()) {
|
||||
Lego()->StopTimer();
|
||||
if (Lego()->IsPaused()) {
|
||||
Lego()->Resume();
|
||||
}
|
||||
else {
|
||||
Lego()->StartTimer();
|
||||
Lego()->Pause();
|
||||
}
|
||||
break;
|
||||
case VK_ESCAPE: {
|
||||
|
Reference in New Issue
Block a user