a proposition for #81
[neverball] / ball / game.c
index fcfc82a..f464fcd 100644 (file)
@@ -152,12 +152,7 @@ static void grow_ball(const struct s_file *fp, float dt)
 
 static void view_init(void)
 {
-    /* Get the initial orientation angle */
-    if (file.uc > 0)
-        view_a  = file.uv->a - 90.f; /* angle is in the sol */
-    else
-        view_a  = 0.f; /* default is north :) */
-
+    view_a  = 0.f;
     view_ry = 0.f;
 
     view_fov = (float) config_get_d(CONFIG_VIEW_FOV);
@@ -902,7 +897,7 @@ int game_step(const float g[3], float dt, int *state_value)
         }
 
         if (grow)
-            grow_ball(fp,dt);
+            grow_ball(fp, dt);
 
         game_update_grav(h, g);
         part_step(h, t);