summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-10-21 20:26:10 +0200
committerSergeanur <s.anureev@yandex.ua>2020-10-21 20:26:10 +0200
commitbd8d8b53a3c724daf2e4bd2be24243aebd6b9e35 (patch)
treeef70799f18c51f55458d7c5aff043f37c9e9f942 /src
parentPickup fixes (diff)
downloadre3-bd8d8b53a3c724daf2e4bd2be24243aebd6b9e35.tar
re3-bd8d8b53a3c724daf2e4bd2be24243aebd6b9e35.tar.gz
re3-bd8d8b53a3c724daf2e4bd2be24243aebd6b9e35.tar.bz2
re3-bd8d8b53a3c724daf2e4bd2be24243aebd6b9e35.tar.lz
re3-bd8d8b53a3c724daf2e4bd2be24243aebd6b9e35.tar.xz
re3-bd8d8b53a3c724daf2e4bd2be24243aebd6b9e35.tar.zst
re3-bd8d8b53a3c724daf2e4bd2be24243aebd6b9e35.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/TempColModels.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/TempColModels.cpp b/src/core/TempColModels.cpp
index ab73631d..f6796909 100644
--- a/src/core/TempColModels.cpp
+++ b/src/core/TempColModels.cpp
@@ -21,7 +21,11 @@ CColModel CTempColModels::ms_colModelBonnet1;
CColSphere s_aPedSpheres[3];
CColSphere s_aPed2Spheres[3];
CColSphere s_aPedGSpheres[4];
+#ifdef FIX_BUGS
+CColSphere s_aDoorSpheres[3];
+#else
CColSphere s_aDoorSpheres[4];
+#endif
CColSphere s_aBumperSpheres[4];
CColSphere s_aPanelSpheres[4];
CColSphere s_aBonnetSpheres[4];
@@ -129,7 +133,11 @@ CTempColModels::Initialise(void)
s_aDoorSpheres[1].center = CVector(0.0f, -0.95f, -0.35f);
s_aDoorSpheres[2].center = CVector(0.0f, -0.6f, 0.25f);
+#ifdef FIX_BUGS
for (i = 0; i < ARRAY_SIZE(s_aDoorSpheres); i++) {
+#else
+ for (i = 0; i < ARRAY_SIZE(s_aPed2Spheres); i++) {
+#endif
s_aDoorSpheres[i].surface = SURFACE_CAR_PANEL;
s_aDoorSpheres[i].piece = 0;
}