diff options
author | Carsten Weisse <[email protected]> | 2008-03-02 14:56:23 +0000 |
---|---|---|
committer | Carsten Weisse <[email protected]> | 2008-03-02 14:56:23 +0000 |
commit | 78d0a1f33aaca5d734122371c43fd51ff43ad3fd (patch) | |
tree | eb01e518130289d77dbdb3331042c5da399cc15a /src/jake2/client/CL_inv.java | |
parent | adaf8e215e6dfff3435d59867661b4cd8946569f (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.java | 6 |
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(); |