1
0
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:
XProger 2016-11-26 02:09:14 +03:00
parent ba5ffaf977
commit 5f3bbadf3a
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -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;
}