mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-27 13:42:02 +00:00
TWINE: added todo comment about the tank-not-moving hack
see https://bugs.scummvm.org/ticket/13177
This commit is contained in:
parent
799bf4b698
commit
10bf056008
@ -668,6 +668,8 @@ void Animations::doAnim(int32 actorIdx) {
|
||||
|
||||
collision->_causeActorDamage = 0;
|
||||
|
||||
// TODO: hack to fix tank-not-moving bug https://bugs.scummvm.org/ticket/13177
|
||||
// remove processActorSave
|
||||
const IVec3 processActorSave = processActor;
|
||||
collision->setCollisionPos(processActor);
|
||||
|
||||
@ -684,6 +686,7 @@ void Animations::doAnim(int32 actorIdx) {
|
||||
collision->doCornerReajust(actor, actor->_boundingBox.maxs.x, actor->_boundingBox.mins.y, actor->_boundingBox.maxs.z, 4);
|
||||
collision->doCornerReajust(actor, actor->_boundingBox.mins.x, actor->_boundingBox.mins.y, actor->_boundingBox.maxs.z, 8);
|
||||
}
|
||||
// TODO: hack to fix tank-not-moving bug https://bugs.scummvm.org/ticket/13177
|
||||
processActor = processActorSave;
|
||||
|
||||
// process wall hit while running
|
||||
|
Loading…
x
Reference in New Issue
Block a user