X-Git-Url: https://git.rohieb.name/hackover2013-badge-firmware.git/blobdiff_plain/1ab16aec62e20065faba56c469ddf75830860162..e943514377152f441aac2b6540df34244f6de79b:/badge/jumpnrun/enemies.c diff --git a/badge/jumpnrun/enemies.c b/badge/jumpnrun/enemies.c index fab1526..0ca8ad0 100644 --- a/badge/jumpnrun/enemies.c +++ b/badge/jumpnrun/enemies.c @@ -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);