summaryrefslogtreecommitdiffstats
path: root/src/core/Camera.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-12-08 02:29:08 +0100
committerSergeanur <s.anureev@yandex.ua>2020-12-08 02:29:08 +0100
commitaae4f3319f4dcc4b3338116572bcb3f6d0f05b7e (patch)
tree7bfa5dede4a4b1b54be7c7ede73926272d4d0ee9 /src/core/Camera.cpp
parentFix vanilla font bug (diff)
downloadre3-aae4f3319f4dcc4b3338116572bcb3f6d0f05b7e.tar
re3-aae4f3319f4dcc4b3338116572bcb3f6d0f05b7e.tar.gz
re3-aae4f3319f4dcc4b3338116572bcb3f6d0f05b7e.tar.bz2
re3-aae4f3319f4dcc4b3338116572bcb3f6d0f05b7e.tar.lz
re3-aae4f3319f4dcc4b3338116572bcb3f6d0f05b7e.tar.xz
re3-aae4f3319f4dcc4b3338116572bcb3f6d0f05b7e.tar.zst
re3-aae4f3319f4dcc4b3338116572bcb3f6d0f05b7e.zip
Diffstat (limited to 'src/core/Camera.cpp')
-rw-r--r--src/core/Camera.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/Camera.cpp b/src/core/Camera.cpp
index a6cf71f1..5d2768de 100644
--- a/src/core/Camera.cpp
+++ b/src/core/Camera.cpp
@@ -3621,6 +3621,8 @@ CCamera::LoadPathSplines(int file)
m_arrPathArray[i].m_arr_PathData[j] = atof(token);
i++;
j = 0;
+ if (i == MAX_NUM_OF_SPLINETYPES)
+ reading = false;
memset(token, 0, 32);
n = 0;
}