mirror of
https://github.com/XProger/OpenLara.git
synced 2025-08-17 10:30:47 +02:00
#11 fix inventory opening once bug
This commit is contained in:
@@ -857,8 +857,10 @@ struct Inventory {
|
|||||||
titleTimer = 0.0f;
|
titleTimer = 0.0f;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!isActive())
|
if (!isActive()) {
|
||||||
|
lastKey = cMAX;
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
float lastChoose = phaseChoose;
|
float lastChoose = phaseChoose;
|
||||||
|
|
||||||
|
4
src/ui.h
4
src/ui.h
@@ -106,8 +106,8 @@ const char *helpText =
|
|||||||
"Step Left - Walk + Left@"
|
"Step Left - Walk + Left@"
|
||||||
"Step Right - Walk + Right@"
|
"Step Right - Walk + Right@"
|
||||||
"Out of water - Up + Action@"
|
"Out of water - Up + Action@"
|
||||||
"Handstand - Run + Walk@"
|
"Handstand - Up + Walk@"
|
||||||
"Swan dive - Run + Walk + Jump@"
|
"Swan dive - Up + Walk + Jump@"
|
||||||
"First Person View - Look + Action@"
|
"First Person View - Look + Action@"
|
||||||
"DOZY on - Look + Duck + Action + Jump@"
|
"DOZY on - Look + Duck + Action + Jump@"
|
||||||
"DOZY off - Walk";
|
"DOZY off - Walk";
|
||||||
|
Reference in New Issue
Block a user