Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-03-02 21:21:13 +0000
committerStijn Buys <ingar@osirion.org>2008-03-02 21:21:13 +0000
commit6e08b92bd4f3e32fdf550f0a3e950e3101a1b06f (patch)
tree602e344c9506949f1a3f2d71875778baa23a7e36 /src/game/ship.cc
parenta2acf0f1b4aa830929507c70483f0b1885bf4426 (diff)
Rotated world
Diffstat (limited to 'src/game/ship.cc')
-rw-r--r--src/game/ship.cc2
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;
}