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:
@@ -1489,8 +1489,6 @@ struct ExtraInfoLara
|
||||
|
||||
Nav nav;
|
||||
|
||||
vec3i tmpPos;
|
||||
|
||||
uint16 lastInput;
|
||||
int8 healthTimer;
|
||||
|
||||
|
@@ -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);
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user