1
0
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:
Alexander Overvoorde
2015-10-28 11:44:08 +01:00
parent 0b66558852
commit 01793e11b7
46 changed files with 125 additions and 125 deletions

View File

@@ -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),