1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-04 21:40:03 +00:00

Merge branch 'positioncell' into 'master'

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

Closes #6154

See merge request OpenMW/openmw!2204
This commit is contained in:
psi29a 2022-07-30 06:40:38 +00:00
commit 7abcb9b0a7
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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);
}
};