mirror of
https://github.com/XProger/OpenLara.git
synced 2025-08-14 09:04:31 +02:00
fix crash at start
This commit is contained in:
@@ -2685,6 +2685,9 @@ struct Level : IGame {
|
||||
}
|
||||
|
||||
void render() {
|
||||
if (inventory->video)
|
||||
return;
|
||||
|
||||
bool title = inventory->isActive() || level.isTitle();
|
||||
bool copyBg = title && (lastTitle != title || needRedrawTitleBG);
|
||||
lastTitle = title;
|
||||
|
Reference in New Issue
Block a user