1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-05 12:45:33 +00:00

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
player.executeAutoMove((float)evt.timeSinceLastEvent);
/*AUTO-MOVE*/ //Poll and execute movement keys - will disable automove if pressed.
//TODO: double Check this.
//player.executeAutoMove((float)evt.timeSinceLastEvent);
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: