1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-28 01:04:50 +01:00

Prefer the RCT2_GLOBAL macro

This commit is contained in:
adrian17
2014-05-12 22:03:24 +02:00
parent 9dd5e59f55
commit 0e02787bf3
5 changed files with 30 additions and 31 deletions

View File

@@ -240,8 +240,8 @@ void osinterface_process_messages()
}
break;
case SDL_MOUSEBUTTONUP:
*((int*)0x01424318) = e.button.x;
*((int*)0x0142431C) = e.button.y;
RCT2_GLOBAL(0x01424318, int) = e.button.x;
RCT2_GLOBAL(0x0142431C, int) = e.button.y;
switch (e.button.button) {
case SDL_BUTTON_LEFT:
RCT2_CALLPROC_1(0x00406C96, int, 2);