1
0
Fork 0

Fix a segfault caused by Ocean not being flagged correctly

This commit is contained in:
Peter Sadrozinski 2012-09-03 17:30:58 +02:00 committed by Christian Schmitt
parent ca9a6dda13
commit f24699ca05

View file

@ -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 );