From 38a3ece5dd0c60330d53446f233bd5e47bb9bdd1 Mon Sep 17 00:00:00 2001 From: hikerstk Date: Sun, 5 Jun 2011 12:05:40 +0000 Subject: [PATCH] 1) Made invulnerability time after being hit configurable. 2) Bugfix: there was no invulnerabilty time if graphical effects were disabled. While it is not ideal that in this case there is no visual indication that the kart is invulnerable, the game play should be consistent and not depend on graphics settings. git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8833 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- data/stk_config.xml | 8 ++++++-- src/karts/emergency_animation.cpp | 7 +++++-- src/karts/kart_properties.cpp | 6 +++++- src/karts/kart_properties.hpp | 8 ++++++++ 4 files changed, 24 insertions(+), 5 deletions(-) diff --git a/data/stk_config.xml b/data/stk_config.xml index 6389be479..5af8047ec 100644 --- a/data/stk_config.xml +++ b/data/stk_config.xml @@ -279,8 +279,12 @@ - + Time: how long it takes before the kart can drive again. + Invulnerability-time: how long a kart will be invulnerable + after being hit by an explosion. --> + +