[Scummvm-git-logs] scummvm master -> e189f9c85c905a2499f8bdcfa3e87acfd43829e3
neuromancer
noreply at scummvm.org
Wed Nov 9 23:13:00 UTC 2022
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
e189f9c85c FREESCAPE: fix view inmmediately after going from one area to another in driller
Commit: e189f9c85c905a2499f8bdcfa3e87acfd43829e3
https://github.com/scummvm/scummvm/commit/e189f9c85c905a2499f8bdcfa3e87acfd43829e3
Author: neuromancer (gustavo.grieco at gmail.com)
Date: 2022-11-09T23:28:19+01:00
Commit Message:
FREESCAPE: fix view inmmediately after going from one area to another in driller
Changed paths:
engines/freescape/games/driller.cpp
diff --git a/engines/freescape/games/driller.cpp b/engines/freescape/games/driller.cpp
index 6f79eba9be4..90b953d3e17 100644
--- a/engines/freescape/games/driller.cpp
+++ b/engines/freescape/games/driller.cpp
@@ -91,6 +91,11 @@ void DrillerEngine::gotoArea(uint16 areaID, int entranceID) {
if (isAmiga() || isAtariST())
swapPalette(areaID);
+
+ if (areaID != _startArea || entranceID != _startEntrance) {
+ _lastMousePos = g_system->getEventManager()->getMousePos();
+ rotate(_lastMousePos, _lastMousePos);
+ }
}
void DrillerEngine::loadGlobalObjects(Common::SeekableReadStream *file, int offset) {
More information about the Scummvm-git-logs
mailing list