From 589c56e01c9ebac8e8bf091f02441d1b99573b84 Mon Sep 17 00:00:00 2001 From: Wolfgang Becker Date: Thu, 6 Jul 2006 11:07:12 +0000 Subject: [PATCH] Tuxdev's patch to fix death by falling when invincible. SVN-Revision: 3913 --- src/object/player.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/object/player.cpp b/src/object/player.cpp index c71e11fb2..b5d02392c 100644 --- a/src/object/player.cpp +++ b/src/object/player.cpp @@ -1012,7 +1012,7 @@ Player::kill(bool completely) if(dying || deactivated) return; - if(!completely && safe_timer.started() || invincible_timer.started()) + if(!completely && (safe_timer.started() || invincible_timer.started())) return; sound_manager->play("sounds/hurt.wav"); -- 2.11.0