From 71a096adb412a9695efdd55c049030754919a4db Mon Sep 17 00:00:00 2001 From: Ricardo Cruz Date: Thu, 29 Apr 2004 23:23:20 +0000 Subject: [PATCH] In the invincible mode, don't bump/squish enemies, just kill them! SVN-Revision: 855 --- src/world.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/world.cpp b/src/world.cpp index 1c1875686..f087b8019 100644 --- a/src/world.cpp +++ b/src/world.cpp @@ -374,7 +374,8 @@ World::collision_handler() // functions of the collided objects. if (tux.previous_base.y < tux.base.y && tux.previous_base.y + tux.previous_base.height - < (*i)->base.y + (*i)->base.height/2) + < (*i)->base.y + (*i)->base.height/2 + && !tux.invincible_timer.started()) { (*i)->collision(&tux, CO_PLAYER, COLLISION_SQUISH); } -- 2.11.0