From f24699ca05c48f9300418c53fba8cdfa9ab5cf8e Mon Sep 17 00:00:00 2001 From: Peter Sadrozinski <pete@loft.sadrohome> Date: Mon, 3 Sep 2012 17:30:58 +0200 Subject: [PATCH] Fix a segfault caused by Ocean not being flagged correctly --- src/BuildTiles/Main/construct.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/BuildTiles/Main/construct.cxx b/src/BuildTiles/Main/construct.cxx index bb51486d..7a656589 100644 --- a/src/BuildTiles/Main/construct.cxx +++ b/src/BuildTiles/Main/construct.cxx @@ -1472,6 +1472,7 @@ bool TGConstruct::ClipLandclassPolys( void ) { sp.set_material( material ); sp.set_poly( remains ); shape.SetMask( remains ); + shape.textured = false; shape.sps.push_back( sp ); polys_clipped.add_shape( (int)get_sliver_target_area_type(), shape );