mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-10-01 00:50:15 -04:00
fixed tab problem
This commit is contained in:
parent
246544806a
commit
36cb10572a
@ -298,7 +298,6 @@ namespace MWInput
|
||||
{
|
||||
player.setAutoMove(false);
|
||||
moveX -= speed;
|
||||
|
||||
}
|
||||
|
||||
if(poller.isDown(A_MoveRight))
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user