1
0
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:
XProger
2018-07-31 07:02:55 +03:00
parent cee28bd1c1
commit 88f9258aca

View File

@@ -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;