aboutsummaryrefslogtreecommitdiffstats
path: root/src/jake2
diff options
context:
space:
mode:
authorCarsten Weisse <[email protected]>2007-04-16 22:14:52 +0000
committerCarsten Weisse <[email protected]>2007-04-16 22:14:52 +0000
commitdfd95dbde17af4ea372d165df62a63a9f58c594d (patch)
treea68de1d731d6dfc9593c6b5beafda2c5e5901a81 /src/jake2
parented632768992bfd18dbe57da603927f1ab8f2dfda (diff)
clean up
Diffstat (limited to 'src/jake2')
-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.