aboutsummaryrefslogtreecommitdiffstats
path: root/src/jake2/client/CL_inv.java
diff options
context:
space:
mode:
authorCarsten Weisse <[email protected]>2008-03-02 14:56:23 +0000
committerCarsten Weisse <[email protected]>2008-03-02 14:56:23 +0000
commit78d0a1f33aaca5d734122371c43fd51ff43ad3fd (patch)
treeeb01e518130289d77dbdb3331042c5da399cc15a /src/jake2/client/CL_inv.java
parentadaf8e215e6dfff3435d59867661b4cd8946569f (diff)
use getters and setters of modified viddef_t
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();