Fix vaporizing Owlicious

This commit is contained in:
Sebastian Krzyszkowiak 2012-12-15 02:06:43 +01:00
parent aba6cc3a0f
commit b0b26461be
2 changed files with 3 additions and 2 deletions

View file

@ -1,4 +1,5 @@
- sidescroll interpolation
- tint Derpy at the current end of level 1
- tilt Derpy at the current end of level 1
- fix obstacles being moved on fullscreen toggling
- modular structure of the engine

View file

@ -92,7 +92,7 @@ void Dodger_Logic(struct Game *game) {
}
if (tmp->hit) {
if (tmp->points>=0) tmp->bitmap = NULL;
if (tmp->points>0) tmp->bitmap = NULL;
game->level.hp+=0.0002*tmp->points*(((1-game->level.speed_modifier)/2.0)+1);
if (game->level.hp>1) game->level.hp=1;
//PrintConsole(game, "POINTS: %d, %f", tmp->points, tps(game, 60*0.0002*tmp->points*game->level.speed_modifier));