From: fgsfds Date: Sat, 12 Aug 2017 20:00:25 +0000 (+0300) Subject: more fucking flamer fixes X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=2fc1afb15bf2071e20e5183d9a610d70632d06a1;p=d2df-sdl.git more fucking flamer fixes --- diff --git a/src/game/g_player.pas b/src/game/g_player.pas index a6f07ac..eea3f5d 100644 --- a/src/game/g_player.pas +++ b/src/game/g_player.pas @@ -2884,8 +2884,6 @@ end; procedure TPlayer.CatchFire(Attacker: Word); begin - if FMegaRulez[MR_SUIT] >= gTime then - Exit; FFireTime := 100; FFireAttacker := Attacker; if g_Game_IsNet and g_Game_IsServer then @@ -4850,6 +4848,12 @@ begin FFireTime := 0; FFirePainTime := 0; end + else if FMegaRulez[MR_SUIT] >= gTime then + begin + if FMegaRulez[MR_SUIT] = gTime then + FFireTime := 1; + FFirePainTime := 0; + end else begin OnFireFlame(1);