summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f3c9249)
raw | patch | inline | side by side (parent: f3c9249)
author | fgsfds <pvt.fgsfds@gmail.com> | |
Sun, 18 Aug 2019 20:07:19 +0000 (23:07 +0300) | ||
committer | fgsfds <pvt.fgsfds@gmail.com> | |
Sun, 18 Aug 2019 20:07:55 +0000 (23:07 +0300) |
src/game/g_triggers.pas | patch | blob | history |
index a2ae402536bdea9b3d431e192bf5cda847e9945a..680d9ed266f26a8fbf486ba76376360b4ba0f8f6 100644 (file)
--- a/src/game/g_triggers.pas
+++ b/src/game/g_triggers.pas
// Íàíîñèì óðîí ìîíñòðó
if (TriggerType = TRIGGER_DAMAGE) and (tgcAmount > 0) then
begin
- p.Damage(tgcAmount, 0, 0, 0, tgcKind);
+ m.Damage(tgcAmount, 0, 0, 0, tgcKind);
if (tgcKind = HIT_FLAME) then m.CatchFire(0);
end;