mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-21 10:53:51 +00:00
Fixed object reference error in player gets
This commit is contained in:
parent
81c0909dbf
commit
90e6029bad
2 changed files with 4 additions and 4 deletions
|
@ -282,7 +282,7 @@ namespace MWInput
|
|||
|
||||
float speed = 300 * evt.timeSinceLastFrame; //is this a placeholder player speed?
|
||||
float TESTwalkSpeed = 100 * evt.timeSinceLastFrame; //Try this, then.
|
||||
float TESTsneakSpeed = 100 * evt.timeSinceLastFrame; //and this.
|
||||
//float TESTsneakSpeed = 100 * evt.timeSinceLastFrame; //and this.
|
||||
|
||||
float moveX = 0, moveY = 0, moveZ = 0;
|
||||
|
||||
|
|
|
@ -127,7 +127,7 @@ namespace MWWorld
|
|||
/// <param name="duration">float value representing time since last call</param>
|
||||
void executeAutoMove(float duration) //call by value for MoveZ makes this harder.
|
||||
{
|
||||
if (this.mAutoMove == true)
|
||||
if (mAutoMove == true)
|
||||
{
|
||||
//TODO: Make player go.
|
||||
/*Access moveZ, access walking/running speed, -1 is for correct direction,
|
||||
|
@ -145,12 +145,12 @@ namespace MWWorld
|
|||
|
||||
bool getmisWalking()
|
||||
{
|
||||
return this.misWalking;
|
||||
return misWalking;
|
||||
}
|
||||
|
||||
void setmisWalking(bool setMe)
|
||||
{
|
||||
this.misWalking = setMe;
|
||||
misWalking = setMe;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue