Fix crash on right click of flat rides

This commit is contained in:
Duncan Frost 2014-08-17 11:57:50 +01:00
parent 2dcdb09d05
commit ca49b7ca09
1 changed files with 1 additions and 1 deletions

View File

@ -823,7 +823,7 @@ static void game_handle_input_mouse(int x, int y, int state)
switch (ebx & 0xFF) {
case 2:
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;
case 3:
RCT2_CALLPROC_X(0x006CC056, eax, 0, ecx, edx, 0, 0, 0);