summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 08095f3)
raw | patch | inline | side by side (parent: 08095f3)
author | fgsfds <pvt.fgsfds@gmail.com> | |
Mon, 5 Aug 2019 22:24:44 +0000 (01:24 +0300) | ||
committer | fgsfds <pvt.fgsfds@gmail.com> | |
Mon, 5 Aug 2019 22:24:44 +0000 (01:24 +0300) |
src/game/g_player.pas | patch | blob | history |
diff --git a/src/game/g_player.pas b/src/game/g_player.pas
index 88070c61c04866a6c79bcea7dc8d39f88545fa12..ddf4825b2ee994232eaf81bc22a58ff101935c65 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) or (FMegaRulez[MR_INVUL] > gTime) then
+ exit; // Íå çàãîðàåìñÿ êîãäà åñòü çàùèòà
if FFireTime <= 0 then
g_Sound_PlayExAt('SOUND_IGNITE', FObj.X, FObj.Y);
FFireTime := 100;