summaryrefslogtreecommitdiffstats
path: root/src/jake2/client/CL_inv.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/jake2/client/CL_inv.java')
-rw-r--r--src/jake2/client/CL_inv.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/jake2/client/CL_inv.java b/src/jake2/client/CL_inv.java
index 7b771f1..fd2579c 100644
--- a/src/jake2/client/CL_inv.java
+++ b/src/jake2/client/CL_inv.java
@@ -2,7 +2,7 @@
* CL_fx.java
* Copyright (C) 2004
*
- * $Id: CL_inv.java,v 1.3 2005-12-18 22:10:10 cawe Exp $
+ * $Id: CL_inv.java,v 1.4 2008-03-02 14:56:22 cawe Exp $
*/
/*
Copyright (C) 1997-2001 Id Software, Inc.
@@ -103,8 +103,8 @@ public class CL_inv {
if (top < 0)
top = 0;
- x = (Globals.viddef.width - 256) / 2;
- y = (Globals.viddef.height - 240) / 2;
+ x = (Globals.viddef.getWidth() - 256) / 2;
+ y = (Globals.viddef.getHeight() - 240) / 2;
// repaint everything next frame
SCR.DirtyScreen();