bird_dip: inertia.y nach Kollision übernehmen. Damit der Möglichkeit, dass
authorWintermute <wintermute@hannover.ccc.de>
Mon, 21 Oct 2013 21:06:37 +0000 (23:06 +0200)
committerWintermute <wintermute@hannover.ccc.de>
Mon, 21 Oct 2013 21:06:37 +0000 (23:06 +0200)
inertia.y > move_max().y vorbeugen (da kriegt die Kollisionsprüfung Probleme)

badge/jumpnrun/enemies.c

index fab1526..0ca8ad0 100644 (file)
@@ -196,6 +196,7 @@ void enemy_collision_tiles_bounce_horiz(jumpnrun_enemy            *self,
                                           lv,
                                           visible_tiles,
                                           &inertia_mod);
+  self->base.inertia.y = inertia_mod.y;
 
   if(killed) {
     jumpnrun_enemy_kill(self);
This page took 0.023287 seconds and 4 git commands to generate.