diff --git a/neo/renderer/Model_lwo.cpp b/neo/renderer/Model_lwo.cpp index 3763a03c..dc92c417 100644 --- a/neo/renderer/Model_lwo.cpp +++ b/neo/renderer/Model_lwo.cpp @@ -2855,7 +2855,7 @@ int lwResolvePolySurfaces( lwPolygonList* polygon, lwTagList* tlist, st = st->next; } } - + intptr_t index; for( i = 0; i < polygon->count; i++ ) { diff --git a/neo/renderer/Model_lwo.h b/neo/renderer/Model_lwo.h index febbd055..d72de52c 100644 --- a/neo/renderer/Model_lwo.h +++ b/neo/renderer/Model_lwo.h @@ -532,7 +532,8 @@ typedef struct st_lwPolVert typedef struct st_lwPolygon { - union { + union + { intptr_t index; lwSurface* ptr; } surf;