aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/jake2/qcommon/Netchan.java16
-rw-r--r--src/jake2/sys/NET.java2
2 files changed, 5 insertions, 13 deletions
diff --git a/src/jake2/qcommon/Netchan.java b/src/jake2/qcommon/Netchan.java
index 4c29433..a5f8611 100644
--- a/src/jake2/qcommon/Netchan.java
+++ b/src/jake2/qcommon/Netchan.java
@@ -1,8 +1,6 @@
/*
* NetChannel.java
* Copyright (C) 2003
- *
- * $Id: Netchan.java,v 1.8 2007-04-15 20:12:33 salomo Exp $
*/
/*
Copyright (C) 1997-2001 Id Software, Inc.
@@ -268,22 +266,18 @@ public final class Netchan extends SV_MAIN {
* net_message so that it points to the packet payload.
*/
public static boolean Process(netchan_t chan, sizebuf_t msg) {
- int sequence, sequence_ack;
- int reliable_ack, reliable_message;
- int qport;
-
// get sequence numbers
MSG.BeginReading(msg);
- sequence = MSG.ReadLong(msg);
- sequence_ack = MSG.ReadLong(msg);
+ int sequence = MSG.ReadLong(msg);
+ int sequence_ack = MSG.ReadLong(msg);
// read the qport if we are a server
if (chan.sock == Defines.NS_SERVER)
- qport = MSG.ReadShort(msg);
+ MSG.ReadShort(msg);
// achtung unsigned int
- reliable_message = sequence >>> 31;
- reliable_ack = sequence_ack >>> 31;
+ int reliable_message = sequence >>> 31;
+ int reliable_ack = sequence_ack >>> 31;
sequence &= ~(1 << 31);
sequence_ack &= ~(1 << 31);
diff --git a/src/jake2/sys/NET.java b/src/jake2/sys/NET.java
index 9a1b78e..77e52c3 100644
--- a/src/jake2/sys/NET.java
+++ b/src/jake2/sys/NET.java
@@ -1,7 +1,5 @@
/*
* NET.java Copyright (C) 2003
- *
- * $Id: NET.java,v 1.11 2007-04-15 20:12:33 salomo Exp $
*/
/*
* Copyright (C) 1997-2001 Id Software, Inc.