mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-13 19:54:09 +00:00
Fixes, some thanks to ASan
This commit is contained in:
parent
b97f86deea
commit
73a3e9d5bb
3 changed files with 23 additions and 7 deletions
|
@ -366,6 +366,12 @@ COcclusion::ProcessBeforeRendering(void)
|
|||
}
|
||||
NumActiveOccluders--;
|
||||
i--;
|
||||
// Taken from Mobile!
|
||||
#ifdef FIX_BUGS
|
||||
if (i == -1) {
|
||||
i = 0;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -481,4 +487,4 @@ void COcclusion::Render() {
|
|||
|
||||
DefinedState();
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue