From 8230ecaf25e29d18bf707182cdc3f0602c65d276 Mon Sep 17 00:00:00 2001 From: dnk-88 Date: Mon, 16 Jan 2012 01:18:27 +0300 Subject: [PATCH] Fixed: #1301 Fixed crash program --- .../src/plugins/landscape_editor/builder_zone_region.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/nel/tools/3d/object_viewer_qt/src/plugins/landscape_editor/builder_zone_region.cpp b/code/nel/tools/3d/object_viewer_qt/src/plugins/landscape_editor/builder_zone_region.cpp index e84a81f57..33b48e04e 100644 --- a/code/nel/tools/3d/object_viewer_qt/src/plugins/landscape_editor/builder_zone_region.cpp +++ b/code/nel/tools/3d/object_viewer_qt/src/plugins/landscape_editor/builder_zone_region.cpp @@ -858,7 +858,7 @@ void BuilderZoneRegion::putTransitions (sint32 inX, sint32 inY, const NLLIGO::SP if ( (corner < 4) && (m != 0) ) { // The material can't be paused - for (int t = 0; i < 4; ++t) + for (int t = 0; t < 4; ++t) dataZoneTemp.sharingMatNames[t] = STRING_UNUSED; // Don't propagate any more