summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 62fcda7)
raw | patch | inline | side by side (parent: 62fcda7)
author | FGSFDSFGS <derp.primus@gmail.com> | |
Tue, 28 Feb 2017 14:37:54 +0000 (17:37 +0300) | ||
committer | FGSFDSFGS <derp.primus@gmail.com> | |
Tue, 28 Feb 2017 14:37:54 +0000 (17:37 +0300) |
src/game/g_triggers.pas | patch | blob | history |
index c1516535c11decd0fc4a9dad7c23044479811b23..b8e39d6873b6601f479dd8f2593e2f97fcddef41 100644 (file)
--- a/src/game/g_triggers.pas
+++ b/src/game/g_triggers.pas
if D2D then
begin
- if m.TeleportTo(TX-(p.Obj.Rect.Width div 2),
- TY-p.Obj.Rect.Height,
+ if m.TeleportTo(TX-(m.Obj.Rect.Width div 2),
+ TY-m.Obj.Rect.Height,
Silent,
TDir) then
Result := True;