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