diff --git a/apps/openmw/mwinput/inputmanager.cpp b/apps/openmw/mwinput/inputmanager.cpp index 4fc8e3af43..6e8cb6b2ee 100644 --- a/apps/openmw/mwinput/inputmanager.cpp +++ b/apps/openmw/mwinput/inputmanager.cpp @@ -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; diff --git a/apps/openmw/mwworld/player.hpp b/apps/openmw/mwworld/player.hpp index d576a45ae3..972ab7c881 100644 --- a/apps/openmw/mwworld/player.hpp +++ b/apps/openmw/mwworld/player.hpp @@ -127,7 +127,7 @@ namespace MWWorld /// float value representing time since last call 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; }