mirror of
https://github.com/XProger/OpenLara.git
synced 2025-08-05 04:37:50 +02:00
restore inventory check
This commit is contained in:
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))
|
if (!checkAngle(level->entities[info.trigCmd[0].args].rotation))
|
||||||
return;
|
return;
|
||||||
if (animation.canSetState(actionState)) {
|
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);
|
playSound(TR::SND_NO, pos, Sound::PAN);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user