1
0
mirror of https://github.com/XProger/OpenLara.git synced 2025-08-19 11:21:31 +02:00

#368 fix false NO

This commit is contained in:
XProger
2022-01-13 23:58:59 +03:00
parent 8d1f8922c9
commit 5cdc60c3c5
2 changed files with 1 additions and 10 deletions

View File

@@ -1489,8 +1489,6 @@ struct ExtraInfoLara
Nav nav;
vec3i tmpPos;
uint16 lastInput;
int8 healthTimer;

View File

@@ -626,16 +626,9 @@ struct Hole : Object // parent class for KeyHole and PuzzleHole
flags |= ITEM_FLAG_STATUS_ACTIVE;
return;
}
lara->extraL->tmpPos.x = ~lara->pos.x;
inventory.useSlot = SLOT_MAX;
}
if (lara->extraL->tmpPos != lara->pos)
{
lara->extraL->tmpPos = lara->pos;
soundPlay(SND_NO, &lara->pos);
}
soundPlay(SND_NO, &lara->pos);
}
};