mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-15 16:58:01 +00:00
parent
c1f79333f7
commit
f832487ce4
@ -520,9 +520,11 @@ void Actor::setPos(const Math::Vector3d &position) {
|
||||
g_grim->getCurrSet()->findClosestSector(_pos, nullptr, &_pos);
|
||||
}
|
||||
|
||||
Math::Vector3d moveVec = position - _pos;
|
||||
foreach (Actor *a, g_grim->getActiveActors()) {
|
||||
handleCollisionWith(a, _collisionMode, &moveVec);
|
||||
if (g_grim->getGameType() == GType_MONKEY4) {
|
||||
Math::Vector3d moveVec = position - _pos;
|
||||
foreach (Actor *a, g_grim->getActiveActors()) {
|
||||
handleCollisionWith(a, _collisionMode, &moveVec);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user