mirror of https://github.com/OpenRCT2/OpenRCT2.git
Fix crash on right click of flat rides
This commit is contained in:
parent
2dcdb09d05
commit
ca49b7ca09
|
@ -823,7 +823,7 @@ static void game_handle_input_mouse(int x, int y, int state)
|
||||||
switch (ebx & 0xFF) {
|
switch (ebx & 0xFF) {
|
||||||
case 2:
|
case 2:
|
||||||
if (*((uint8*)edx) == 0)
|
if (*((uint8*)edx) == 0)
|
||||||
RCT2_CALLPROC_X(0x006B4857, eax, 0, ecx, 0, 0, 0, 0);
|
RCT2_CALLPROC_X(0x006B4857, eax, 0, ecx, edx, 0, 0, 0);
|
||||||
break;
|
break;
|
||||||
case 3:
|
case 3:
|
||||||
RCT2_CALLPROC_X(0x006CC056, eax, 0, ecx, edx, 0, 0, 0);
|
RCT2_CALLPROC_X(0x006CC056, eax, 0, ecx, edx, 0, 0, 0);
|
||||||
|
|
Loading…
Reference in New Issue