mirror of
https://github.com/bearstonem/openmohaa-vr.git
synced 2026-10-27 16:07:14 +01:00
Fixed static models collapse array being wrong
This would cause static models to disappear
This commit is contained in:
1 file changed
+1
-1
@@ -582,7 +582,7 @@ void RB_StaticMesh(staticSurface_t* staticSurf) {
|
||||
for (i = 0; i < render_count; i++) {
|
||||
collapse[i] = i;
|
||||
}
|
||||
for (i = 0; i < surf->numVerts; i++) {
|
||||
for (i = render_count; i < surf->numVerts; i++) {
|
||||
collapse[i] = collapse[collapse_map[i]];
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user