diff options
Diffstat (limited to 'src/jake2/qcommon/Cbuf.java')
-rw-r--r-- | src/jake2/qcommon/Cbuf.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/jake2/qcommon/Cbuf.java b/src/jake2/qcommon/Cbuf.java index 5281081..f80f0ce 100644 --- a/src/jake2/qcommon/Cbuf.java +++ b/src/jake2/qcommon/Cbuf.java @@ -2,7 +2,7 @@ * Cbuf.java * Copyright (C) 2003 * - * $Id: Cbuf.java,v 1.2 2004-07-08 15:58:46 hzi Exp $ + * $Id: Cbuf.java,v 1.2.2.1 2004-09-06 19:39:19 hzi Exp $ */ /* Copyright (C) 1997-2001 Id Software, Inc. @@ -28,7 +28,6 @@ package jake2.qcommon; import jake2.Defines; import jake2.Globals; import jake2.game.Cmd; -import jake2.util.Lib; /** * Cbuf @@ -229,7 +228,7 @@ public final class Cbuf { ============ */ public static void CopyToDefer() { - Lib.memcpy(Globals.defer_text_buf, Globals.cmd_text_buf, Globals.cmd_text.cursize); + System.arraycopy(Globals.cmd_text_buf, 0, Globals.defer_text_buf, 0, Globals.cmd_text.cursize); Globals.defer_text_buf[Globals.cmd_text.cursize] = 0; Globals.cmd_text.cursize = 0; } |