Fixed object reference error in player gets

actorid
Star-Demon 14 years ago
parent 81c0909dbf
commit 90e6029bad

@ -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…
Cancel
Save