mirror of
https://github.com/XProger/OpenLara.git
synced 2025-01-17 21:09:00 +01:00
restore inventory check
This commit is contained in:
parent
ba5ffaf977
commit
5f3bbadf3a
BIN
bin/OpenLara.exe
BIN
bin/OpenLara.exe
Binary file not shown.
@ -962,7 +962,7 @@ struct Lara : Character {
|
||||
if (!checkAngle(level->entities[info.trigCmd[0].args].rotation))
|
||||
return;
|
||||
if (animation.canSetState(actionState)) {
|
||||
if (false) { //!useItem(TR::Entity::NONE, level->entities[info.trigCmd[0].args].type)) {
|
||||
if (!useItem(TR::Entity::NONE, level->entities[info.trigCmd[0].args].type)) {
|
||||
playSound(TR::SND_NO, pos, Sound::PAN);
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user