mirror of
https://github.com/LostArtefacts/TRX.git
synced 2025-05-01 14:17:58 +03:00
fix hoisting up when holding O and SLOW (closes #28)
This commit is contained in:
parent
622f61b64c
commit
a70b66740f
1 changed files with 2 additions and 1 deletions
|
@ -177,7 +177,8 @@ void LaraControl(int16_t item_num)
|
|||
item->hit_points = LARA_HITPOINTS;
|
||||
Lara.death_count = 0;
|
||||
LaraUnderWater(item, &coll);
|
||||
if ((Input & IN_SLOW) && !(Input & IN_LOOK)) {
|
||||
if (CHK_ANY(Input, IN_SLOW)
|
||||
&& !CHK_ANY(Input, IN_LOOK | IN_DOZYCHEAT)) {
|
||||
int16_t wh = GetWaterHeight(
|
||||
item->pos.x, item->pos.y, item->pos.z, item->room_number);
|
||||
if (room_submerged || (wh != NO_HEIGHT && wh > 0)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue