mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-04 03:40:14 +00:00
Position set back to zero
This commit is contained in:
parent
63a40e9ba3
commit
b7697a62ad
@ -301,7 +301,7 @@ bool PM_SlideMove( bool gravity )
|
|||||||
|
|
||||||
if(planes[i].x >= .70)
|
if(planes[i].x >= .70)
|
||||||
{
|
{
|
||||||
pm->ps.velocity = Ogre::Vector3(0,0,0);
|
pm->ps.velocity.z = 0;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
// see how hard we are hitting things
|
// see how hard we are hitting things
|
||||||
|
@ -92,7 +92,7 @@ struct playerMove
|
|||||||
{
|
{
|
||||||
playerStruct() : gravity(800.0f), speed(480.0f), pmove_framecount(20), groundEntityNum(ENTITYNUM_NONE), commandTime(40), move_type(PM_NOCLIP), pm_time(0), snappingImplemented(true), bSnap(false), counter(-1)
|
playerStruct() : gravity(800.0f), speed(480.0f), pmove_framecount(20), groundEntityNum(ENTITYNUM_NONE), commandTime(40), move_type(PM_NOCLIP), pm_time(0), snappingImplemented(true), bSnap(false), counter(-1)
|
||||||
{
|
{
|
||||||
origin = Ogre::Vector3(733.164f,900.0f, 839.432f);
|
origin = Ogre::Vector3(0.0f, 0.0f, 0.0f);
|
||||||
velocity = Ogre::Vector3(0.0f, 0.0f, 0.0f);
|
velocity = Ogre::Vector3(0.0f, 0.0f, 0.0f);
|
||||||
|
|
||||||
viewangles = Ogre::Vector3(0.0f, 0.0f, 0.0f);
|
viewangles = Ogre::Vector3(0.0f, 0.0f, 0.0f);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user