mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-21 08:23:53 +00:00
Fix CenterOnCell target rotation
This commit is contained in:
parent
0bbb3788fe
commit
19dc01232c
1 changed files with 2 additions and 0 deletions
|
@ -2808,6 +2808,7 @@ namespace MWWorld
|
|||
/// \note Using _any_ door pointed to the interior,
|
||||
/// not the one pointed to current door.
|
||||
pos = destDoor.mRef.getDoorDest();
|
||||
pos.rot[0] = pos.rot[1] = pos.rot[2] = 0;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
@ -2818,6 +2819,7 @@ namespace MWWorld
|
|||
if (!statics.empty())
|
||||
{
|
||||
pos = statics.begin()->mRef.getPosition();
|
||||
pos.rot[0] = pos.rot[1] = pos.rot[2] = 0;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue