1
0
mirror of https://github.com/XProger/OpenLara.git synced 2025-08-01 02:40:43 +02:00

Fix crash when loading with picked up items. (#441)

If picked up items were still being displayed in the corner of the screen when loading a save or a new level it would crash by trying to animate an item no longer available.
This commit is contained in:
Ricardo Mendes
2022-08-23 20:27:18 +01:00
committed by GitHub
parent 51bf7cdaef
commit 7d94f1223a

View File

@@ -545,6 +545,7 @@ namespace UI {
showHelp = false;
helpTipTime = 5.0f;
hintTime = subsTime = 0.0f;
pickups.clear();
}
void deinit() {