diff options
Diffstat (limited to 'src/game/ship.cc')
-rw-r--r-- | src/game/ship.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/ship.cc b/src/game/ship.cc index 1bcdfbf..e2a42d8 100644 --- a/src/game/ship.cc +++ b/src/game/ship.cc @@ -61,7 +61,7 @@ void Ship::frame(float seconds) // location TODO 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; } |