aboutsummaryrefslogtreecommitdiffstats
path: root/src/jake2
diff options
context:
space:
mode:
authorCarsten Weisse <[email protected]>2005-04-08 14:05:34 +0000
committerCarsten Weisse <[email protected]>2005-04-08 14:05:34 +0000
commit345164364a80c5b32f9d5cc593cacc1240ab7775 (patch)
tree26b4bee7d8d2a78d9d5b92d78d3dd8dbc63fb4ab /src/jake2
parent8c11c42aeaaf48065a9ce1681df9db38d891fbe4 (diff)
bugfix [ 1144565 ] power shield of monster "brain" not displayed correctly
Diffstat (limited to 'src/jake2')
-rw-r--r--src/jake2/render/jogl/Mesh.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/jake2/render/jogl/Mesh.java b/src/jake2/render/jogl/Mesh.java
index d6dc90c..ee6a8fb 100644
--- a/src/jake2/render/jogl/Mesh.java
+++ b/src/jake2/render/jogl/Mesh.java
@@ -2,7 +2,7 @@
* Mesh.java
* Copyright (C) 2003
*
- * $Id: Mesh.java,v 1.7 2004-09-22 19:22:16 salomo Exp $
+ * $Id: Mesh.java,v 1.8 2005-04-08 14:05:34 cawe Exp $
*/
/*
Copyright (C) 1997-2001 Id Software, Inc.
@@ -245,9 +245,9 @@ public abstract class Mesh extends Light {
if ((currententity.flags & (Defines.RF_SHELL_RED
| Defines.RF_SHELL_GREEN | Defines.RF_SHELL_BLUE
| Defines.RF_SHELL_DOUBLE | Defines.RF_SHELL_HALF_DAM)) != 0) {
- gl
- .glColor4f(shadelight[0], shadelight[1], shadelight[2],
- alpha);
+
+ gl.glDisableClientState(GL.GL_COLOR_ARRAY);
+ gl.glColor4f(shadelight[0], shadelight[1], shadelight[2], alpha);
} else {
gl.glEnableClientState(GL.GL_COLOR_ARRAY);
gl.glColorPointer(4, GL.GL_FLOAT, 0, colorArrayBuf);