fixed tab problem

This commit is contained in:
Marc Zinnschlag 2011-01-18 15:20:36 +01:00
parent 246544806a
commit 36cb10572a
2 changed files with 57 additions and 64 deletions

View file

@ -298,7 +298,6 @@ namespace MWInput
{
player.setAutoMove(false);
moveX -= speed;
}
if(poller.isDown(A_MoveRight))

View file

@ -32,7 +32,7 @@ namespace MWWorld
bool mCollisionMode;
bool mAutoMove;
bool misWalking; //Testing...
bool misWalking;//Testing...
public:
@ -122,8 +122,8 @@ namespace MWWorld
mAutoMove = setMe;
}
//NOTE: we don't have speed being calculated yet, so for now this function only requires a frame duration.
/// <param name="duration">float value representing time since last call</param>
//NOTE: we don't have speed being calculated yet, so for now this function only requires a frame duration.
/// <param name="duration">float value representing time since last call</param>
void executeAutoMove(float duration)
{
float X_Val = 0.0f;
@ -131,10 +131,7 @@ namespace MWWorld
float Z_Val = 300.0f * duration * -1.0f;
if (mAutoMove == true)
{
//if player is running
//Make player go at full speed
moveRel(X_Val, Y_Val, Z_Val);
//else go forward at walk speed.
}
}
@ -147,9 +144,6 @@ namespace MWWorld
{
misWalking = setMe;
}
};
}
#endif