diff options
Diffstat (limited to 'src/misc_gui.cpp')
-rw-r--r-- | src/misc_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc_gui.cpp b/src/misc_gui.cpp index 26b47bad3..e5f923cef 100644 --- a/src/misc_gui.cpp +++ b/src/misc_gui.cpp @@ -1917,7 +1917,7 @@ static void CheatsWndProc(Window *w, WindowEvent *e) uint x = e->we.click.pt.x; /* not clicking a button? */ - if (!IS_INT_INSIDE(x, 20, 40) || btn >= lengthof(_cheats_ui)) break; + if (!IsInsideMM(x, 20, 40) || btn >= lengthof(_cheats_ui)) break; ce = &_cheats_ui[btn]; oldvalue = value = (int32)ReadValue(ce->variable, ce->type); |