summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7066cc7)
raw | patch | inline | side by side (parent: 7066cc7)
author | fgsfds <pvt.fgsfds@gmail.com> | |
Sat, 12 Aug 2017 20:00:25 +0000 (23:00 +0300) | ||
committer | fgsfds <pvt.fgsfds@gmail.com> | |
Sat, 12 Aug 2017 20:00:25 +0000 (23:00 +0300) |
src/game/g_player.pas | patch | blob | history |
diff --git a/src/game/g_player.pas b/src/game/g_player.pas
index a6f07ac6f6e258522a8f867445f588e8efa9eab3..eea3f5db57e4b85c0ced6448b4d64eb642f41a86 100644 (file)
--- a/src/game/g_player.pas
+++ b/src/game/g_player.pas
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
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);