diff mm7_3.cpp @ 2006:30c2b575d25c

signed fixes DamagePlayerFromMonster -1 indexing
author zipi
date Wed, 06 Nov 2013 13:06:02 +0000
parents 2e6c63bdcfa9
children 03d9336e862f
line wrap: on
line diff
--- a/mm7_3.cpp	Wed Nov 06 00:09:47 2013 -0800
+++ b/mm7_3.cpp	Wed Nov 06 13:06:02 2013 +0000
@@ -4674,7 +4674,7 @@
     v[0].pos.y = pViewport->uScreen_TL_Y;
     v[0].pos.z = 0.99989998;
     v[0].rhw = 1;
-    v[0].diffuse = 0xFFFFFFFF;
+    v[0].diffuse = -1;
     v[0].specular = 0;
     v[0].texcoord.x = 0;
     v[0].texcoord.y = 0;
@@ -4683,7 +4683,7 @@
     v[1].pos.y = pViewport->uScreen_TL_Y + pViewport->uScreenHeight;
     v[1].pos.z = 0.99989998;
     v[1].rhw = 1;
-    v[1].diffuse = 0xFFFFFFFF;
+    v[1].diffuse = -1;
     v[1].specular = 0;
     v[1].texcoord.x = (float)pViewport->uScreenWidth / skybox_width;
     v[1].texcoord.y = (float)pViewport->uScreenHeight / skybox_height;
@@ -4692,7 +4692,7 @@
     v[2].pos.y = pViewport->uScreen_TL_Y;
     v[2].pos.z = 0.99989998;
     v[2].rhw = 1;
-    v[2].diffuse = 0xFFFFFFFF;
+    v[2].diffuse = -1;
     v[2].specular = 0;
     v[2].texcoord.x = (float)pViewport->uScreenWidth / skybox_width;
     v[2].texcoord.y = 0;
@@ -4703,7 +4703,7 @@
     v[4].pos.y = pViewport->uScreen_TL_Y + pViewport->uScreenHeight;
     v[4].pos.z = 0.99989998;
     v[4].rhw = 1;
-    v[4].diffuse = 0xFFFFFFFF;
+    v[4].diffuse = -1;
     v[4].specular = 0;
     v[4].texcoord.x = 0;
     v[4].texcoord.y = (float)pViewport->uScreenHeight / skybox_height;