diff stru9.cpp @ 168:ee11772d0ad2

New sky (turn on -new_sky console command) cube textures are stored in /daata/skybox/%name%_xn.tga %name%%_xp.tga %name%_zn.tga etc
author Nomad
date Thu, 14 Feb 2013 13:58:34 +0200
parents 9c0607679772
children 4a42c2f97aa2
line wrap: on
line diff
--- a/stru9.cpp	Tue Feb 12 11:59:49 2013 +0200
+++ b/stru9.cpp	Thu Feb 14 13:58:34 2013 +0200
@@ -127,7 +127,7 @@
           v14 = (VertexBuffer *)((char *)v14 + 48);
           *(float *)v15 = *(float *)&v15[(char *)&static_AE33A0 - (char *)pVertices];
           *((float *)v15 + 1) = *(float *)&v15[i];
-          *((float *)v15 + 8) = *(float *)&v15[(char *)&static_AE33A0.pVertices[0].flt_20 - (char *)pVertices];
+          *((float *)v15 + 8) = *(float *)&v15[(char *)&static_AE33A0.pVertices[0]._rhw - (char *)pVertices];
           *((float *)v15 + 9) = *(float *)&v15[(char *)&static_AE33A0.pVertices[0].u - (char *)pVertices];
           v13 = static_AE33A0.uNumVertices;
           v15 += 48;