mirror of
https://github.com/rwengine/openrw.git
synced 2024-11-25 03:42:48 +01:00
Replace tabs with spaces
This commit is contained in:
parent
0b2ac30529
commit
db1c405a18
@ -272,10 +272,10 @@ void IngameState::tick(float dt) {
|
||||
// The player cannot accelerate while exiting.
|
||||
// He can, however, brake in the opposite direction of movement.
|
||||
int velocitySign = vehicle->getVelocity() >= 0 ? 1 : -1;
|
||||
int movementSign = movement.x >= 0 ? 1 : -1;
|
||||
if (velocitySign == movementSign) {
|
||||
movement.x = 0;
|
||||
}
|
||||
int movementSign = movement.x >= 0 ? 1 : -1;
|
||||
if (velocitySign == movementSign) {
|
||||
movement.x = 0;
|
||||
}
|
||||
}
|
||||
player->setMoveDirection(movement);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user