From 78d0a1f33aaca5d734122371c43fd51ff43ad3fd Mon Sep 17 00:00:00 2001 From: Carsten Weisse Date: Sun, 2 Mar 2008 14:56:23 +0000 Subject: use getters and setters of modified viddef_t --- src/jake2/client/CL_view.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/jake2/client/CL_view.java') diff --git a/src/jake2/client/CL_view.java b/src/jake2/client/CL_view.java index 8a834d9..ad1c254 100644 --- a/src/jake2/client/CL_view.java +++ b/src/jake2/client/CL_view.java @@ -1,7 +1,7 @@ /* * CL_view.java Copyright (C) 2004 * - * $Id: CL_view.java,v 1.4 2004-09-22 19:22:07 salomo Exp $ + * $Id: CL_view.java,v 1.5 2008-03-02 14:56:22 cawe Exp $ */ /* * Copyright (C) 1997-2001 Id Software, Inc. @@ -57,7 +57,7 @@ public class CL_view { return; // no map loaded SCR.AddDirtyPoint(0, 0); - SCR.AddDirtyPoint(Globals.viddef.width - 1, Globals.viddef.height - 1); + SCR.AddDirtyPoint(Globals.viddef.getWidth() - 1, Globals.viddef.getHeight() - 1); // let the render dll load the map mapname = Globals.cl.configstrings[Defines.CS_MODELS + 1].substring(5, -- cgit v1.2.3