mirror of
https://github.com/XProger/OpenLara.git
synced 2025-08-13 16:44:50 +02:00
fix passport animation
This commit is contained in:
@@ -1258,7 +1258,7 @@ struct Inventory {
|
||||
int itemIndex = index == targetIndex ? getGlobalIndex(page, index) : -1;
|
||||
|
||||
for (int i = 0; i < itemsCount; i++) {
|
||||
items[i]->update(chosen, phaseChoose);
|
||||
items[i]->update(chosen && itemIndex == i, phaseChoose);
|
||||
float &angle = items[i]->angle;
|
||||
|
||||
if (itemIndex != i || chosen) {
|
||||
|
Reference in New Issue
Block a user