Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/entity.cc')
-rw-r--r--src/core/entity.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/entity.cc b/src/core/entity.cc
index 2fe381b..2a0518a 100644
--- a/src/core/entity.cc
+++ b/src/core/entity.cc
@@ -198,7 +198,7 @@ void EntityDynamic::frame(float seconds)
// location avoid sin/cos calculations
entity_location.x += cosf(entity_direction * M_PI / 180) * entity_speed * seconds;
- entity_location.z -= sinf(entity_direction * M_PI / 180) * entity_speed * seconds;
+ entity_location.y += sinf(entity_direction * M_PI / 180) * entity_speed * seconds;
entity_dirty = true;
}