summaryrefslogtreecommitdiffstats
path: root/src/control
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2019-10-12 16:28:38 +0200
committerSergeanur <s.anureev@yandex.ua>2019-10-12 16:28:38 +0200
commit03833f9e11521fc97eedcf95f4cc3d2cdca1db3c (patch)
treeb6be555e79590edf461e4455ae32afeaa3743de0 /src/control
parentFull CRestart (diff)
downloadre3-03833f9e11521fc97eedcf95f4cc3d2cdca1db3c.tar
re3-03833f9e11521fc97eedcf95f4cc3d2cdca1db3c.tar.gz
re3-03833f9e11521fc97eedcf95f4cc3d2cdca1db3c.tar.bz2
re3-03833f9e11521fc97eedcf95f4cc3d2cdca1db3c.tar.lz
re3-03833f9e11521fc97eedcf95f4cc3d2cdca1db3c.tar.xz
re3-03833f9e11521fc97eedcf95f4cc3d2cdca1db3c.tar.zst
re3-03833f9e11521fc97eedcf95f4cc3d2cdca1db3c.zip
Diffstat (limited to 'src/control')
-rw-r--r--src/control/Restart.cpp4
1 files changed, 2 insertions, 2 deletions
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;
}
}