From 6e08b92bd4f3e32fdf550f0a3e950e3101a1b06f Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 2 Mar 2008 21:21:13 +0000 Subject: Rotated world --- src/core/entity.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/entity.cc') 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; } -- cgit v1.2.3