mirror of
https://github.com/XProger/OpenLara.git
synced 2025-08-20 11:51:36 +02:00
#368 fix false NO
This commit is contained in:
@@ -1489,8 +1489,6 @@ struct ExtraInfoLara
|
|||||||
|
|
||||||
Nav nav;
|
Nav nav;
|
||||||
|
|
||||||
vec3i tmpPos;
|
|
||||||
|
|
||||||
uint16 lastInput;
|
uint16 lastInput;
|
||||||
int8 healthTimer;
|
int8 healthTimer;
|
||||||
|
|
||||||
|
@@ -626,16 +626,9 @@ struct Hole : Object // parent class for KeyHole and PuzzleHole
|
|||||||
flags |= ITEM_FLAG_STATUS_ACTIVE;
|
flags |= ITEM_FLAG_STATUS_ACTIVE;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
lara->extraL->tmpPos.x = ~lara->pos.x;
|
|
||||||
inventory.useSlot = SLOT_MAX;
|
inventory.useSlot = SLOT_MAX;
|
||||||
}
|
}
|
||||||
|
soundPlay(SND_NO, &lara->pos);
|
||||||
if (lara->extraL->tmpPos != lara->pos)
|
|
||||||
{
|
|
||||||
lara->extraL->tmpPos = lara->pos;
|
|
||||||
soundPlay(SND_NO, &lara->pos);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user