Snap down any actor teleported with Position/PositionCell (bug #6154)

check_span
Alexei Kotov 2 years ago
parent 4f9bcfd3f5
commit 435ddcfb6b

@ -65,6 +65,7 @@
Bug #6133: Cannot reliably sneak or steal in the sight of the NPCs siding with player
Bug #6142: Groundcover plugins change cells flags
Bug #6143: Capturing a screenshot renders the engine temporarily unresponsive
Bug #6154: Levitating player character is floating rather than on the floor when teleported back from Magas Volar
Bug #6165: Paralyzed player character can pickup items when the inventory is open
Bug #6168: Weather particles flicker for a frame at start of storms
Bug #6172: Some creatures can't open doors

@ -430,7 +430,7 @@ namespace MWScript
rot.z() = osg::DegreesToRadians(zRot);
MWBase::Environment::get().getWorld()->rotateObject(ptr,rot);
ptr.getClass().adjustPosition(ptr, false);
ptr.getClass().adjustPosition(ptr, true);
}
}
};
@ -484,7 +484,7 @@ namespace MWScript
zRot = zRot/60.0f;
rot.z() = osg::DegreesToRadians(zRot);
MWBase::Environment::get().getWorld()->rotateObject(ptr,rot);
ptr.getClass().adjustPosition(ptr, false);
ptr.getClass().adjustPosition(ptr, true);
}
};

Loading…
Cancel
Save