mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-06 18:40:23 +00:00
Merged pull request #1958
This commit is contained in:
commit
d466785aa7
@ -20,6 +20,7 @@
|
|||||||
Bug #3049: Drain and Fortify effects are not properly applied on health, magicka and fatigue
|
Bug #3049: Drain and Fortify effects are not properly applied on health, magicka and fatigue
|
||||||
Bug #3059: Unable to hit with marksman weapons when too close to an enemy
|
Bug #3059: Unable to hit with marksman weapons when too close to an enemy
|
||||||
Bug #3072: Fatal error on AddItem <item> that has a script containing Equip <item>
|
Bug #3072: Fatal error on AddItem <item> that has a script containing Equip <item>
|
||||||
|
Bug #3219: NPC and creature initial position tracing down limit is too small
|
||||||
Bug #3249: Fixed revert function not updating views properly
|
Bug #3249: Fixed revert function not updating views properly
|
||||||
Bug #3288: TrueType fonts are handled incorrectly
|
Bug #3288: TrueType fonts are handled incorrectly
|
||||||
Bug #3374: Touch spells not hitting kwama foragers
|
Bug #3374: Touch spells not hitting kwama foragers
|
||||||
@ -134,6 +135,7 @@
|
|||||||
Bug #4653: Length of non-ASCII strings is handled incorrectly in ESM reader
|
Bug #4653: Length of non-ASCII strings is handled incorrectly in ESM reader
|
||||||
Bug #4654: Editor: UpdateVisitor does not initialize skeletons for animated objects
|
Bug #4654: Editor: UpdateVisitor does not initialize skeletons for animated objects
|
||||||
Bug #4668: Editor: Light source color is displayed as an integer
|
Bug #4668: Editor: Light source color is displayed as an integer
|
||||||
|
Bug #4669: ToggleCollision should trace the player down after collision being enabled
|
||||||
Bug #4672: Pitch factor is handled incorrectly for crossbow animations
|
Bug #4672: Pitch factor is handled incorrectly for crossbow animations
|
||||||
Feature #912: Editor: Add missing icons to UniversalId tables
|
Feature #912: Editor: Add missing icons to UniversalId tables
|
||||||
Feature #1221: Editor: Creature/NPC rendering
|
Feature #1221: Editor: Creature/NPC rendering
|
||||||
|
@ -1343,7 +1343,7 @@ namespace MWWorld
|
|||||||
|
|
||||||
if (force || !isFlying(ptr))
|
if (force || !isFlying(ptr))
|
||||||
{
|
{
|
||||||
osg::Vec3f traced = mPhysics->traceDown(ptr, pos, 500);
|
osg::Vec3f traced = mPhysics->traceDown(ptr, pos, Constants::CellSizeInUnits);
|
||||||
if (traced.z() < pos.z())
|
if (traced.z() < pos.z())
|
||||||
pos.z() = traced.z();
|
pos.z() = traced.z();
|
||||||
}
|
}
|
||||||
@ -1581,7 +1581,13 @@ namespace MWWorld
|
|||||||
|
|
||||||
bool World::toggleCollisionMode()
|
bool World::toggleCollisionMode()
|
||||||
{
|
{
|
||||||
return mPhysics->toggleCollisionMode();
|
if (mPhysics->toggleCollisionMode())
|
||||||
|
{
|
||||||
|
adjustPosition(getPlayerPtr(), true);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool World::toggleRenderMode (MWRender::RenderMode mode)
|
bool World::toggleRenderMode (MWRender::RenderMode mode)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user