mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-05-01 09:18:00 +03:00
super ugly check for joby-like crowbar pickups
This commit is contained in:
parent
82b8db7d70
commit
a6b8554745
1 changed files with 7 additions and 1 deletions
|
@ -812,7 +812,13 @@ void do_pickup()
|
|||
}
|
||||
else
|
||||
{
|
||||
if (LaraItem->currentAnimState == STATE_LARA_PICKUP || LaraItem->currentAnimState == STATE_LARA_PICKUP_FROM_CHEST || LaraItem->currentAnimState == STATE_LARA_HOLE)
|
||||
if (LaraItem->animNumber == ANIMATION_LARA_CROWBAR_USE_ON_WALL2)
|
||||
{
|
||||
AddDisplayPickup(ID_CROWBAR_ITEM);
|
||||
Lara.Crowbar = true;
|
||||
KillItem(pickupitem);
|
||||
}
|
||||
else if (LaraItem->currentAnimState == STATE_LARA_PICKUP || LaraItem->currentAnimState == STATE_LARA_PICKUP_FROM_CHEST || LaraItem->currentAnimState == STATE_LARA_HOLE)
|
||||
{
|
||||
AddDisplayPickup(item->objectNumber);
|
||||
if (item->triggerFlags & 0x100)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue