ASYLUM: HiveControl puzzle: don't reset at quit

This commit is contained in:
alxpnv 2022-09-26 14:00:41 +03:00
parent 2c466952d9
commit 7adad87fc4

View File

@ -275,7 +275,11 @@ bool PuzzleHiveControl::mouseLeftDown(const AsylumEvent &) {
}
bool PuzzleHiveControl::mouseRightDown(const AsylumEvent &) {
reset();
if (_leverDelta) {
_leverDelta = 0;
_prevLeverPosition = _leverPosition;
_currentControl = kControlNone;
}
getSound()->stop(getWorld()->graphicResourceIds[73]);
getSound()->stop(getWorld()->graphicResourceIds[74]);