More AutoMove stuff, Sneak bools, cleaning

This commit is contained in:
Star-Demon 2011-01-16 10:25:33 -05:00
parent 60c9c31c7a
commit f96f53484c
2 changed files with 5 additions and 5 deletions

View file

@ -274,12 +274,10 @@ namespace MWInput
float speed = 300 * evt.timeSinceLastFrame; float speed = 300 * evt.timeSinceLastFrame;
float moveX = 0, moveY = 0, moveZ = 0; float moveX = 0, moveY = 0, moveZ = 0;
//execute Automove - condition checked in function
/*AUTO-MOVE*/ player.executeAutoMove((float)evt.timeSinceLastEvent);
//TODO: double Check this.
//player.executeAutoMove((float)evt.timeSinceLastEvent);
//Poll and execute movement keys - will disable automove if pressed.
if(poller.isDown(A_MoveLeft)) if(poller.isDown(A_MoveLeft))
{ {
player.setmAutoMove(false); player.setmAutoMove(false);

View file

@ -32,6 +32,8 @@ namespace MWWorld
bool mCollisionMode; bool mCollisionMode;
bool mAutoMove; bool mAutoMove;
bool misSneaking;
bool misHidden;
public: public: