mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
FREESCAPE: disable no clip mode when a game is restarted or reloaded
This commit is contained in:
@@ -686,6 +686,7 @@ Common::Error FreescapeEngine::loadGameStream(Common::SeekableReadStream *stream
|
||||
}
|
||||
|
||||
_flyMode = stream->readByte();
|
||||
_noClipMode = false;
|
||||
_playerHeightNumber = stream->readUint32LE();
|
||||
_countdown = stream->readUint32LE();
|
||||
_ticks = 0;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user