summaryrefslogtreecommitdiff
path: root/src/d/d_menu_window.cpp
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2026-03-31 23:05:57 -0400
committerLagoLunatic <LagoLunatic@users.noreply.github.com>2026-03-31 23:05:57 -0400
commitab41cc50bb4d0982ade5c34b75461e49c4e3b329 (patch)
treeb64d3a91cbb10edf257f825f2a9ab8322f5df84b /src/d/d_menu_window.cpp
parenta4de4f08fba14d59e8620d25f771f15a4dbd40f5 (diff)
Use dComIfGp_event_runCheck instead of dComIfGp_event_getMode, remove some fakematches
Diffstat (limited to 'src/d/d_menu_window.cpp')
-rw-r--r--src/d/d_menu_window.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/d/d_menu_window.cpp b/src/d/d_menu_window.cpp
index f8dda65a..45093fd0 100644
--- a/src/d/d_menu_window.cpp
+++ b/src/d/d_menu_window.cpp
@@ -786,7 +786,7 @@ void dMs_telescopeMove(sub_ms_screen_class* i_Ms) {
/* 801DD5CC-801DD6D8 .text dMs_placenameMove__FP19sub_ms_screen_class */
void dMs_placenameMove(sub_ms_screen_class*) {
- if (dComIfGp_event_getMode() == 0) {
+ if (!dComIfGp_event_runCheck()) {
return;
}
@@ -1450,7 +1450,7 @@ static BOOL dMs_Execute(sub_ms_screen_class* i_Ms) {
dMs_telescopeMove(i_Ms);
- if (dMenu_flag() == 0 && !dComIfGp_event_getMode()) {
+ if (dMenu_flag() == 0 && !dComIfGp_event_runCheck()) {
dComIfGs_getpItemRecord()->decTimer();
}