TWINE: fixed #12804 - scene 35 is solvable now

This commit is contained in:
Martin Gerhardy 2021-08-15 20:00:40 +02:00
parent bf6672df34
commit 9f9bf386f8

View File

@ -212,7 +212,7 @@ void Collision::handlePushing(const IVec3 &minsTest, const IVec3 &maxsTest, cons
actorTest->_lastPos.x = -64;
}
if ((newAngle >= ANGLE_315 || newAngle < ANGLE_45) && (actor->_angle > ANGLE_315 || actor->_angle < ANGLE_45)) {
actorTest->_lastPos.x = 192;
actorTest->_lastPos.z = 192;
}
} else {
actorTest->_lastPos.x = processActor.x - actor->_collisionPos.x;