summaryrefslogtreecommitdiffstats
path: root/src/jake2/render/jogl/Light.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/jake2/render/jogl/Light.java')
-rw-r--r--src/jake2/render/jogl/Light.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/jake2/render/jogl/Light.java b/src/jake2/render/jogl/Light.java
index e9e83af..de23629 100644
--- a/src/jake2/render/jogl/Light.java
+++ b/src/jake2/render/jogl/Light.java
@@ -2,7 +2,7 @@
* Light.java
* Copyright (C) 2003
*
- * $Id: Light.java,v 1.5 2004-07-12 22:08:04 hzi Exp $
+ * $Id: Light.java,v 1.6 2004-07-16 10:11:35 cawe Exp $
*/
/*
Copyright (C) 1997-2001 Id Software, Inc.
@@ -31,6 +31,7 @@ import jake2.client.dlight_t;
import jake2.client.lightstyle_t;
import jake2.game.GameBase;
import jake2.game.cplane_t;
+import jake2.qcommon.Com;
import jake2.qcommon.longjmpException;
import jake2.render.*;
import jake2.util.Math3D;
@@ -503,13 +504,13 @@ public abstract class Light extends Warp {
int monolightmap;
if ( (surf.texinfo.flags & (Defines.SURF_SKY | Defines.SURF_TRANS33 | Defines.SURF_TRANS66 | Defines.SURF_WARP)) != 0 )
- ri.Sys_Error(Defines.ERR_DROP, "R_BuildLightMap called for non-lit surface");
+ Com.Error(Defines.ERR_DROP, "R_BuildLightMap called for non-lit surface");
smax = (surf.extents[0] >> 4) + 1;
tmax = (surf.extents[1] >> 4) + 1;
size = smax * tmax;
if (size > ((s_blocklights.length * Defines.SIZE_OF_FLOAT) >> 4) )
- ri.Sys_Error(Defines.ERR_DROP, "Bad s_blocklights size");
+ Com.Error(Defines.ERR_DROP, "Bad s_blocklights size");
try {
// set to full bright if no light data