From 5f3bbadf3a87a9565dc8622714ccf5b4fe1cc3d9 Mon Sep 17 00:00:00 2001 From: XProger Date: Sat, 26 Nov 2016 02:09:14 +0300 Subject: [PATCH] restore inventory check --- bin/OpenLara.exe | Bin 116736 -> 116736 bytes src/lara.h | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/OpenLara.exe b/bin/OpenLara.exe index a6d13b81d0f9b44b14a730a545843d980d2904a6..fc8196d0e231035d927326834cf601c329249e34 100644 GIT binary patch delta 4525 zcmZWsdt8)d_J7aAT?b~kh=8J~h$tu^VB(cg#!CtgkRYMp?yBGb3I^s4f@TJV*AWcz zkXF`5cV)NSU%Ql}U0h64&=NIkv#bx6{eBNYMP3jUd4K19XHeSxr!6pQrpflPVfD`hhbII*HG%rhE+6WxGpx0{--1e2FDe8%X6V=mc*}k#Lto>O|#4o z*UQxPx>LJqn04n)?e3V8Ohf7H~nm}0Bd~Iw4BbN0=~GafEf_NqLOk3GB+2+uG36wvO&ORw5$4YGcN7G1exWFc z-Br3i(Y%GEMo#i#5QIf)(`wsvpZqK;_E@Aga|b~%wRXf4f1UY?+WZxEOoUM{oFI0O zv4zyi)uy)<;!}k%A0#49*QYk^qYv={zj0lXOwDT3P9oLTgr_v(1wH@bk&U@Y)+xDT zS)xkg1xIYWESYC6BVgkt`pjz?CC+yg%jGoHR!7h$lhY|a{jze&Bt>*p5yd;MGxkbq z(`Yi%8<=H&u^dT%T#`EQkCPxdz}=3diBSMuuXusrxM=jezYjl~1R*d9?@WS!dGCpp zq}ysw-JRQNjnPD|c{rX8g96t3t~E9s;(#6f01GG6$8h}HWO$kNT|?~@n8=RgVEz=? z#M+v$eF_X?)BcI~ra%h&{vWs`0!Fi*gP0!y(QNlW@XZJ)2@Q)<0wn~i)alLqvq+iJ zEDcuOR%f&jhcFPqouV*%KKN>0Q{<&pFR+70aZfaiA9nPB zBz0zq3kt>QM#-UMf_RZXxPmRw@U!2wze|$1IY6wD7olp8{7cf+Z{ue%Fv0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o98@DJcm*o_d0!V(wCXdE35p!>uXtn=|{oe-eQM%a2k8c z#%Xh$#`xkPN+j+exMKMs*zDBt7IM1jki+RF9>Weo-{Ff$Aba0U-$D8!IiCA5gXb3A zisOF29mnlyjpKsw&BM@dQtv4|Hy?PeCY|Rlg!9~RqIXT_xl`kKZf^|FouKbb9M3J( zQ4iAhWdhGtKE-qKi9DA`-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; }