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 47c5e05..0302051 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);
-       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, myorg_x);
+       WriteCoord(MSG_BROADCAST, myorg_y);
+       WriteCoord(MSG_BROADCAST, myorg_z);
 }
 
 void GrapplingHookTouch (void)
index ea0daa7..72f97da 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);
-       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, org_x);
+       WriteCoord(MSG_BROADCAST, org_y);
+       WriteCoord(MSG_BROADCAST, org_z);
 }
 
 // experimental lightning gun