1
0
mirror of https://github.com/XProger/OpenLara.git synced 2025-04-20 19:11:50 +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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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