Fixed indentation

This commit is contained in:
stiffly
2015-12-11 15:29:57 +01:00
parent 16d636a87c
commit 3da69c8a1b
5 changed files with 171 additions and 175 deletions
+4 -8
View File
@@ -5,20 +5,16 @@ void PlayerSystem::Update(World * world, ComponentWrapper & player, double dt)
{
if (input.Forward) {
m_Direction.z = -1;
}
else if (input.Back) {
} else if (input.Back) {
m_Direction.z = 1;
}
else {
} else {
m_Direction.z = 0;
}
if (input.Left) {
m_Direction.x = -1;
}
else if (input.Right) {
} else if (input.Right) {
m_Direction.x = 1;
}
else {
} else {
m_Direction.x = 0;
}
m_EventBroker->Process<PlayerSystem>();