diff --git a/src/fixed/common.h b/src/fixed/common.h index 2569068..af49687 100644 --- a/src/fixed/common.h +++ b/src/fixed/common.h @@ -1489,8 +1489,6 @@ struct ExtraInfoLara Nav nav; - vec3i tmpPos; - uint16 lastInput; int8 healthTimer; diff --git a/src/fixed/object.h b/src/fixed/object.h index c1f1af2..ec3088a 100644 --- a/src/fixed/object.h +++ b/src/fixed/object.h @@ -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); } };