Fix #8919: Release builds with asserts enabled (#8925)

This commit is contained in:
Charles Pigott
2021-04-01 23:57:49 +01:00
parent fb23ee6add
commit 9acb8f7d2c
8 changed files with 17 additions and 17 deletions
+1 -1
View File
@@ -953,7 +953,7 @@ void CallVehicleTicks()
PerformanceAccumulator::Reset(PFE_GL_AIRCRAFT);
for (Vehicle *v : Vehicle::Iterate()) {
#ifndef NDEBUG
#ifdef WITH_ASSERT
size_t vehicle_index = v->index;
#endif