From 03833f9e11521fc97eedcf95f4cc3d2cdca1db3c Mon Sep 17 00:00:00 2001 From: Sergeanur Date: Sat, 12 Oct 2019 17:28:38 +0300 Subject: Fixed iteration typo --- src/control/Restart.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/control') diff --git a/src/control/Restart.cpp b/src/control/Restart.cpp index c82b3f1b..8e983555 100644 --- a/src/control/Restart.cpp +++ b/src/control/Restart.cpp @@ -36,9 +36,9 @@ CRestart::Initialise() for (int i = 0; i < NUM_RESTART_POINTS; i++) { HospitalRestartPoints[i] = CVector(0.0f, 0.0f, 0.0f); - HospitalRestartHeadings[0] = 0.0f; + HospitalRestartHeadings[i] = 0.0f; PoliceRestartPoints[i] = CVector(0.0f, 0.0f, 0.0f); - PoliceRestartHeadings[0] = 0.0f; + PoliceRestartHeadings[i] = 0.0f; } } -- cgit v1.2.3