Remove unused regs.dx

This commit is contained in:
Gymnasiast 2021-01-17 19:51:04 +01:00
parent d817d595eb
commit 2baf0f992f
No known key found for this signature in database
GPG Key ID: DBFFF47AB2CA3EDD
1 changed files with 0 additions and 4 deletions

View File

@ -9646,16 +9646,12 @@ int32_t Vehicle::UpdateTrackMotion(int32_t* outStation)
int32_t totalAcceleration = 0;
// ebp
int32_t totalMass = 0;
// Not used
regs.dx = 0;
// ebx
int32_t numVehicles = 0;
for (; vehicle != nullptr; vehicle = GetEntity<Vehicle>(vehicle->next_vehicle_on_train))
{
numVehicles++;
// Not used?
regs.dx |= vehicle->update_flags;
totalMass += vehicle->mass;
totalAcceleration += vehicle->acceleration;
}