mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-24 00:03:11 +01:00
Replace RCT2_GLOBAL magic numbers with address identifiers and string ids
This commit is contained in:
@@ -2425,7 +2425,7 @@ void textinput_cancel()
|
||||
#else
|
||||
log_warning("there should be something called here (0x0040701D)");
|
||||
#endif // _WIN32
|
||||
if (RCT2_GLOBAL(0x009DEB8C, uint8) != 255) {
|
||||
if (RCT2_GLOBAL(RCT2_ADDRESS_TEXTINPUT_WINDOWCLASS, uint8) != 255) {
|
||||
RCT2_CALLPROC_EBPSAFE(0x006EE4E2);
|
||||
w = window_find_by_number(
|
||||
RCT2_GLOBAL(RCT2_ADDRESS_TEXTINPUT_WINDOWCLASS, rct_windowclass),
|
||||
|
||||
Reference in New Issue
Block a user