From e4d570eafc455b4ebd31503424421c63b21e2852 Mon Sep 17 00:00:00 2001 From: SmallJoker Date: Thu, 21 Aug 2014 20:01:03 +0200 Subject: Reduce time of red screen when damaged 10 seconds in PvP is very long and annoying. --- src/game.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/game.cpp') diff --git a/src/game.cpp b/src/game.cpp index 768193147..e25210337 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -2399,8 +2399,8 @@ void the_game(bool &kill, bool random_input, InputHandler *input, damage_flash += 8.0 * event.player_damage.amount; player->hurt_tilt_timer = 1.5; - player->hurt_tilt_strength = event.player_damage.amount/2; - player->hurt_tilt_strength = rangelim(player->hurt_tilt_strength, 2.0, 10.0); + player->hurt_tilt_strength = event.player_damage.amount/4; + player->hurt_tilt_strength = rangelim(player->hurt_tilt_strength, 1.0, 4.0); MtEvent *e = new SimpleTriggerEvent("PlayerDamage"); gamedef->event()->put(e); -- cgit v1.2.3