diff options
author | Holger Zickner <[email protected]> | 2004-07-08 20:24:48 +0000 |
---|---|---|
committer | Holger Zickner <[email protected]> | 2004-07-08 20:24:48 +0000 |
commit | 252832999fa43bce63ca4b643fab5d9dd51fccc4 (patch) | |
tree | 98570c65819059d14f0809ae964aa1c6c93684a0 /src/jake2/client/CL_view.java | |
parent | 4f13ea26c4f47e54e66926f0700cf631e7bb3352 (diff) |
import of Jake2 version cebit
Diffstat (limited to 'src/jake2/client/CL_view.java')
-rw-r--r-- | src/jake2/client/CL_view.java | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/jake2/client/CL_view.java b/src/jake2/client/CL_view.java index 2d2e7ab..08e55c3 100644 --- a/src/jake2/client/CL_view.java +++ b/src/jake2/client/CL_view.java @@ -2,7 +2,7 @@ * CL_view.java * Copyright (C) 2004 * - * $Id: CL_view.java,v 1.1 2004-07-07 19:58:40 hzi Exp $ + * $Id: CL_view.java,v 1.2 2004-07-08 20:24:29 hzi Exp $ */ /* Copyright (C) 1997-2001 Id Software, Inc. @@ -51,12 +51,14 @@ public class CL_view extends CL_input { ================= */ + private static xcommand_t prepRefreshCallback = new xcommand_t() { + public void execute() { + PrepRefresh2(); + } + }; + static void PrepRefresh() { - re.updateScreen(new xcommand_t() { - public void execute() { - PrepRefresh2(); - } - }); + re.updateScreen(prepRefreshCallback); } static void PrepRefresh2() { |