aboutsummaryrefslogtreecommitdiffstats
path: root/src/jake2/client/CL_view.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/jake2/client/CL_view.java')
-rw-r--r--src/jake2/client/CL_view.java14
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() {