On Mon, 21 May 2007 15:07:04 -0400 [EMAIL PROTECTED] wrote:
>Error  294     error C2059: syntax error : '{'      
>\lib\ivis_common\imdload.c     306
>
>
>poly->normal = (Vector3i){0.0f, 0.0f, 0.0f};
>
>
>
>--------
>should be broken down into parts to fix.
>

Index: lib/ivis_common/imdload.c
===================================================================
--- lib/ivis_common/imdload.c   (revision 1321)
+++ lib/ivis_common/imdload.c   (working copy)
@@ -303,7 +303,9 @@
                }
                else
                {
-                       poly->normal = (Vector3i){0.0f, 0.0f, 0.0f};
+                       poly->normal.x = 0.0f;
+                       poly->normal.y = 0.0f;
+                       poly->normal.z = 0.0f;
                }
 
                if (poly->flags & iV_IMD_TEXANIM)




_______________________________________________
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev

Reply via email to