forked from mirror/openmw-tes3mp
Fix flying creatures not falling on death
This commit is contained in:
parent
44fd526c98
commit
865f4648b0
1 changed files with 1 additions and 1 deletions
|
@ -246,7 +246,7 @@ namespace MWWorld
|
||||||
|
|
||||||
// Early-out for totally static creatures
|
// Early-out for totally static creatures
|
||||||
// (Not sure if gravity should still apply?)
|
// (Not sure if gravity should still apply?)
|
||||||
if (!ptr.getClass().canWalk(ptr) && !isFlying && !ptr.getClass().canSwim(ptr))
|
if (!ptr.getClass().canWalk(ptr) && !ptr.getClass().canFly(ptr) && !ptr.getClass().canSwim(ptr))
|
||||||
return position;
|
return position;
|
||||||
|
|
||||||
/* Anything to collide with? */
|
/* Anything to collide with? */
|
||||||
|
|
Loading…
Reference in a new issue