mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-06 06:32:56 +01:00
Convert a register to a variable
This commit is contained in:
@@ -8322,10 +8322,10 @@ loc_6DB967:
|
||||
}
|
||||
auto head = otherVeh->TrainHead();
|
||||
|
||||
regs.eax = abs(velocity - head->velocity);
|
||||
auto velocityDelta = abs(velocity - head->velocity);
|
||||
if (!(rideEntry->flags & RIDE_ENTRY_FLAG_DISABLE_COLLISION_CRASHES))
|
||||
{
|
||||
if (regs.eax > 0xE0000)
|
||||
if (velocityDelta > 0xE0000)
|
||||
{
|
||||
if (!(vehicleEntry->flags & VEHICLE_ENTRY_FLAG_BOAT_HIRE_COLLISION_DETECTION))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user