mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-04-30 08:47:58 +03:00
Update motorbike.cpp
This commit is contained in:
parent
fe5c1cea3d
commit
d59a73ba62
1 changed files with 1 additions and 1 deletions
|
@ -304,7 +304,7 @@ static BOOL GetOnMotorBike(short itemNumber)
|
|||
short room_number;
|
||||
|
||||
item = &g_Level.Items[itemNumber];
|
||||
if (item->flags & ONESHOT || Lara.gunStatus == LG_HANDS_BUSY || LaraItem->gravityStatus)
|
||||
if (item->flags & ONESHOT || Lara.gunStatus != LG_NO_ARMS || LaraItem->gravityStatus)
|
||||
return false;
|
||||
|
||||
if ((abs(item->pos.yPos - LaraItem->pos.yPos) >= STEP_SIZE || !(TrInput & IN_ACTION)) &&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue