mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-27 21:35:24 +00:00
Snap down any actor teleported with Position/PositionCell (bug #6154)
This commit is contained in:
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 #6133: Cannot reliably sneak or steal in the sight of the NPCs siding with player
|
||||||
Bug #6142: Groundcover plugins change cells flags
|
Bug #6142: Groundcover plugins change cells flags
|
||||||
Bug #6143: Capturing a screenshot renders the engine temporarily unresponsive
|
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 #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 #6168: Weather particles flicker for a frame at start of storms
|
||||||
Bug #6172: Some creatures can't open doors
|
Bug #6172: Some creatures can't open doors
|
||||||
|
@ -430,7 +430,7 @@ namespace MWScript
|
|||||||
rot.z() = osg::DegreesToRadians(zRot);
|
rot.z() = osg::DegreesToRadians(zRot);
|
||||||
MWBase::Environment::get().getWorld()->rotateObject(ptr,rot);
|
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;
|
zRot = zRot/60.0f;
|
||||||
rot.z() = osg::DegreesToRadians(zRot);
|
rot.z() = osg::DegreesToRadians(zRot);
|
||||||
MWBase::Environment::get().getWorld()->rotateObject(ptr,rot);
|
MWBase::Environment::get().getWorld()->rotateObject(ptr,rot);
|
||||||
ptr.getClass().adjustPosition(ptr, false);
|
ptr.getClass().adjustPosition(ptr, true);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user