DEADSOFTWARE

Update trigger shot structure to avoid alignment problems
authorbinarymaster <x86corez@gmail.com>
Mon, 20 Jun 2016 19:34:10 +0000 (22:34 +0300)
committerbinarymaster <x86corez@gmail.com>
Mon, 20 Jun 2016 19:34:10 +0000 (22:34 +0300)
.gitignore [new file with mode: 0644]
src/shared/MAPDEF.pas

diff --git a/.gitignore b/.gitignore
new file mode 100644 (file)
index 0000000..3f29eae
--- /dev/null
@@ -0,0 +1,18 @@
+# Project-specific
+bin/
+tmp/
+
+# Precompiled and Delphi-specific files
+# without *.res
+*.obj
+*.dcu
+*.cbk
+*.dof
+*.ddp
+
+# Commonly used temporary files
+~*
+*.~*
+*.tmp
+*.bak
+*.lps
index 8ad2ccd230736d1d1eb9a34a8c7e0b94208accb1..c18b3f102b117e3d89115918d9c0d768ddd4accf 100644 (file)
@@ -290,13 +290,13 @@ Type
                              HealInterval: Word;
                              HealMax: Boolean;
                              HealSilent: Boolean);
-      TRIGGER_SHOT:         (ShotType: Byte;
+      TRIGGER_SHOT:         (ShotPos: TPoint;
+                             ShotType: Byte;
+                             ShotTarget: Byte;
                              ShotSound: Boolean;
+                             ShotAllMap: Boolean;
                              ShotPanelID: Integer;
-                             ShotTarget: Byte;
                              ShotIntSight: Word;
-                             ShotAllMap: Boolean;
-                             ShotPos: TPoint;
                              ShotAngle: Word;
                              ShotWait: Word;
                              ShotAccuracy: Word;