Fixed object reference error in player gets

This commit is contained in:
Star-Demon 2011-01-16 13:45:54 -05:00
parent 81c0909dbf
commit 90e6029bad
2 changed files with 4 additions and 4 deletions

View file

@ -282,7 +282,7 @@ namespace MWInput
float speed = 300 * evt.timeSinceLastFrame; //is this a placeholder player speed? float speed = 300 * evt.timeSinceLastFrame; //is this a placeholder player speed?
float TESTwalkSpeed = 100 * evt.timeSinceLastFrame; //Try this, then. 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; float moveX = 0, moveY = 0, moveZ = 0;

View file

@ -127,7 +127,7 @@ namespace MWWorld
/// <param name="duration">float value representing time since last call</param> /// <param name="duration">float value representing time since last call</param>
void executeAutoMove(float duration) //call by value for MoveZ makes this harder. void executeAutoMove(float duration) //call by value for MoveZ makes this harder.
{ {
if (this.mAutoMove == true) if (mAutoMove == true)
{ {
//TODO: Make player go. //TODO: Make player go.
/*Access moveZ, access walking/running speed, -1 is for correct direction, /*Access moveZ, access walking/running speed, -1 is for correct direction,
@ -145,12 +145,12 @@ namespace MWWorld
bool getmisWalking() bool getmisWalking()
{ {
return this.misWalking; return misWalking;
} }
void setmisWalking(bool setMe) void setmisWalking(bool setMe)
{ {
this.misWalking = setMe; misWalking = setMe;
} }