Index: src/3d/packed_zone.cpp =================================================================== --- src/3d/packed_zone.cpp (revision 250) +++ src/3d/packed_zone.cpp (working copy) @@ -1291,7 +1291,7 @@ if (x >= (sint) packedZone.Grid.getWidth()) continue; if (y < 0) continue; if (y >= (sint) packedZone.Grid.getHeight()) continue; - T::TIndexType triListIndex = packedZone.Grid(x, y); + typename T::TIndexType triListIndex = packedZone.Grid(x, y); if (triListIndex != T::UndefIndex) { CTriangle tri;