FREESCAPE: disable no clip mode when a game is restarted or reloaded

This commit is contained in:
neuromancer
2022-12-07 09:35:31 +01:00
parent 0af9bf8885
commit 2110fe69ba
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -686,6 +686,7 @@ Common::Error FreescapeEngine::loadGameStream(Common::SeekableReadStream *stream
}
_flyMode = stream->readByte();
_noClipMode = false;
_playerHeightNumber = stream->readUint32LE();
_countdown = stream->readUint32LE();
_ticks = 0;
+1
View File
@@ -841,6 +841,7 @@ void DrillerEngine::removeDrill(Area *area) {
void DrillerEngine::initGameState() {
_flyMode = false;
_noClipMode = false;
_lastMousePos = Common::Point(0, 0);
_yaw = 0;
_pitch = 0;