summaryrefslogtreecommitdiffstats
path: root/src/jake2/qcommon/Netchan.java
diff options
context:
space:
mode:
authorHolger Zickner <[email protected]>2004-07-08 15:58:48 +0000
committerHolger Zickner <[email protected]>2004-07-08 15:58:48 +0000
commit4f13ea26c4f47e54e66926f0700cf631e7bb3352 (patch)
treea9d434fc462417bb981b1565fd64cea5e7c82c15 /src/jake2/qcommon/Netchan.java
parent76839da3568e20f51220584d1fc92841b216505a (diff)
import of Jake2 version hannover
Diffstat (limited to 'src/jake2/qcommon/Netchan.java')
-rw-r--r--src/jake2/qcommon/Netchan.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/jake2/qcommon/Netchan.java b/src/jake2/qcommon/Netchan.java
index d949588..31699c3 100644
--- a/src/jake2/qcommon/Netchan.java
+++ b/src/jake2/qcommon/Netchan.java
@@ -2,7 +2,7 @@
* NetChannel.java
* Copyright (C) 2003
*
- * $Id: Netchan.java,v 1.1 2004-07-07 19:59:32 hzi Exp $
+ * $Id: Netchan.java,v 1.2 2004-07-08 15:58:46 hzi Exp $
*/
/*
Copyright (C) 1997-2001 Id Software, Inc.
@@ -158,9 +158,9 @@ public final class Netchan extends SV_MAIN {
chan.clear();
chan.sock = sock;
- chan.remote_address = adr.copy();
+ chan.remote_address.set(adr);
chan.qport = qport;
- chan.last_received = (int) Globals.curtime;
+ chan.last_received = Globals.curtime;
chan.incoming_sequence = 0;
chan.outgoing_sequence = 1;