]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
swap start/end
authorRudolf Polzer <divverent@alientrap.org>
Mon, 19 Jul 2010 10:41:21 +0000 (12:41 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Mon, 19 Jul 2010 10:41:21 +0000 (12:41 +0200)
qcsrc/server/g_hook.qc
qcsrc/server/w_electro.qc

index 47c5e0568efd7ea89475691e3309f600cf78884e..0302051f5af2447e5846216d0dbd41d597bb743c 100644 (file)
@@ -248,12 +248,12 @@ void GrapplingHookThink()
        WriteByte(MSG_BROADCAST, TE_CSQC_BEAM);
        WriteByte(MSG_BROADCAST, num_for_edict(self.owner));
        WriteByte(MSG_BROADCAST, 0);
        WriteByte(MSG_BROADCAST, TE_CSQC_BEAM);
        WriteByte(MSG_BROADCAST, num_for_edict(self.owner));
        WriteByte(MSG_BROADCAST, 0);
-       WriteCoord(MSG_BROADCAST, myorg_x);
-       WriteCoord(MSG_BROADCAST, myorg_y);
-       WriteCoord(MSG_BROADCAST, myorg_z);
        WriteCoord(MSG_BROADCAST, org_x);
        WriteCoord(MSG_BROADCAST, org_y);
        WriteCoord(MSG_BROADCAST, org_z);
        WriteCoord(MSG_BROADCAST, org_x);
        WriteCoord(MSG_BROADCAST, org_y);
        WriteCoord(MSG_BROADCAST, org_z);
+       WriteCoord(MSG_BROADCAST, myorg_x);
+       WriteCoord(MSG_BROADCAST, myorg_y);
+       WriteCoord(MSG_BROADCAST, myorg_z);
 }
 
 void GrapplingHookTouch (void)
 }
 
 void GrapplingHookTouch (void)
index ea0daa7b5c41fcad373767539c8024eaac03cf07..72f97da34a51afbdf3be7544ee66d90fee0acbdf 100644 (file)
@@ -230,12 +230,12 @@ void lgbeam_think()
        WriteByte(MSG_BROADCAST, TE_CSQC_BEAM);
        WriteByte(MSG_BROADCAST, num_for_edict(self.owner));
        WriteByte(MSG_BROADCAST, sound_allowed(MSG_BROADCAST, self.owner) ? 1 : 2);
        WriteByte(MSG_BROADCAST, TE_CSQC_BEAM);
        WriteByte(MSG_BROADCAST, num_for_edict(self.owner));
        WriteByte(MSG_BROADCAST, sound_allowed(MSG_BROADCAST, self.owner) ? 1 : 2);
-       WriteCoord(MSG_BROADCAST, org_x);
-       WriteCoord(MSG_BROADCAST, org_y);
-       WriteCoord(MSG_BROADCAST, org_z);
        WriteCoord(MSG_BROADCAST, trace_endpos_x);
        WriteCoord(MSG_BROADCAST, trace_endpos_y);
        WriteCoord(MSG_BROADCAST, trace_endpos_z);
        WriteCoord(MSG_BROADCAST, trace_endpos_x);
        WriteCoord(MSG_BROADCAST, trace_endpos_y);
        WriteCoord(MSG_BROADCAST, trace_endpos_z);
+       WriteCoord(MSG_BROADCAST, org_x);
+       WriteCoord(MSG_BROADCAST, org_y);
+       WriteCoord(MSG_BROADCAST, org_z);
 }
 
 // experimental lightning gun
 }
 
 // experimental lightning gun