Fix #2720. Golf peeps no longer walk incorrectly to the hole.

This commit is contained in:
duncanspumpkin 2016-01-14 18:04:07 +00:00
parent f2b70b74aa
commit d3cb8c4ef6
1 changed files with 1 additions and 1 deletions

View File

@ -7680,7 +7680,7 @@ loc_6DC462:
goto loc_6DC985;
loc_6DC476:
if (!(vehicle->var_D5 & (1 << 2))) {
if (vehicle->var_D5 & (1 << 2)) {
regs.edi = RCT2_ADDRESS(0x008B8F74, uint32)[vehicle->var_D4];
regs.al = vehicle->var_C5 + 1;
if ((uint8)regs.al < ((uint8*)regs.edi)[-1]) {