summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-02-09 20:02:29 +0100
committeraap <aap@papnet.eu>2021-02-09 20:02:29 +0100
commit26bbbe003761490d16a75e4f4e06199e8bc47b70 (patch)
treee8c3d35d89d49f04fc20a81268ab17995d0d5fc9 /src/core
parentMerge branch 'miami' of https://github.com/GTAmodding/re3 into miami (diff)
downloadre3-26bbbe003761490d16a75e4f4e06199e8bc47b70.tar
re3-26bbbe003761490d16a75e4f4e06199e8bc47b70.tar.gz
re3-26bbbe003761490d16a75e4f4e06199e8bc47b70.tar.bz2
re3-26bbbe003761490d16a75e4f4e06199e8bc47b70.tar.lz
re3-26bbbe003761490d16a75e4f4e06199e8bc47b70.tar.xz
re3-26bbbe003761490d16a75e4f4e06199e8bc47b70.tar.zst
re3-26bbbe003761490d16a75e4f4e06199e8bc47b70.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/FileLoader.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/FileLoader.cpp b/src/core/FileLoader.cpp
index 4d1cd921..bf017256 100644
--- a/src/core/FileLoader.cpp
+++ b/src/core/FileLoader.cpp
@@ -317,6 +317,7 @@ CFileLoader::LoadCollisionModel(uint8 *buf, CColModel &model, char *modelname)
buf += 4;
if(model.numLines > 0){
//model.lines = (CColLine*)RwMalloc(model.numLines*sizeof(CColLine));
+ REGISTER_MEMPTR(&model.lines);
for(i = 0; i < model.numLines; i++){
//model.lines[i].Set(*(CVector*)buf, *(CVector*)(buf+12));
buf += 24;