mirror of https://github.com/OpenRCT2/OpenRCT2.git
Fix #2720. Golf peeps no longer walk incorrectly to the hole.
This commit is contained in:
parent
f2b70b74aa
commit
d3cb8c4ef6
|
@ -7680,7 +7680,7 @@ loc_6DC462:
|
||||||
goto loc_6DC985;
|
goto loc_6DC985;
|
||||||
|
|
||||||
loc_6DC476:
|
loc_6DC476:
|
||||||
if (!(vehicle->var_D5 & (1 << 2))) {
|
if (vehicle->var_D5 & (1 << 2)) {
|
||||||
regs.edi = RCT2_ADDRESS(0x008B8F74, uint32)[vehicle->var_D4];
|
regs.edi = RCT2_ADDRESS(0x008B8F74, uint32)[vehicle->var_D4];
|
||||||
regs.al = vehicle->var_C5 + 1;
|
regs.al = vehicle->var_C5 + 1;
|
||||||
if ((uint8)regs.al < ((uint8*)regs.edi)[-1]) {
|
if ((uint8)regs.al < ((uint8*)regs.edi)[-1]) {
|
||||||
|
|
Loading…
Reference in New Issue