[Scummvm-git-logs] scummvm master -> ef39082faf406f7221f1bed595e2adce31d88e15
mgerhardy
martin.gerhardy at gmail.com
Thu Aug 19 11:10:08 UTC 2021
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:
ef39082faf TWINE: todo comment
Commit: ef39082faf406f7221f1bed595e2adce31d88e15
https://github.com/scummvm/scummvm/commit/ef39082faf406f7221f1bed595e2adce31d88e15
Author: Martin Gerhardy (martin.gerhardy at gmail.com)
Date: 2021-08-19T13:09:47+02:00
Commit Message:
TWINE: todo comment
Changed paths:
engines/twine/holomap.cpp
diff --git a/engines/twine/holomap.cpp b/engines/twine/holomap.cpp
index 43dffb28d1..28eef897e9 100644
--- a/engines/twine/holomap.cpp
+++ b/engines/twine/holomap.cpp
@@ -447,6 +447,7 @@ void Holomap::renderLocations(int xRot, int yRot, int zRot, bool lower) {
const IVec3 &destPos = _engine->_renderer->getBaseRotationPosition(0, 0, loc.angle.z + 1000);
const IVec3 &destPos2 = _engine->_renderer->getBaseRotationPosition(0, 0, 1500);
_engine->_renderer->setBaseRotation(xRot, yRot, zRot, true);
+ // TODO: this call doesn't make much sense. the computed result is not used.
_engine->_renderer->setBaseRotationPos(0, 0, distance(zDistanceHolomap));
const IVec3 &destPos3 = _engine->_renderer->getBaseRotationPosition(destPos);
const IVec3 &destPos4 = _engine->_renderer->getBaseRotationPosition(destPos2);
More information about the Scummvm-git-logs
mailing list