Fixed: #1301 Fixed crash program

--HG--
branch : gsoc2011-worldeditorqt
This commit is contained in:
dnk-88 2012-01-16 01:18:27 +03:00
parent 8a7b7ecd0b
commit 6f3e096a3e

View file

@ -858,7 +858,7 @@ void BuilderZoneRegion::putTransitions (sint32 inX, sint32 inY, const NLLIGO::SP
if ( (corner < 4) && (m != 0) ) if ( (corner < 4) && (m != 0) )
{ {
// The material can't be paused // 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; dataZoneTemp.sharingMatNames[t] = STRING_UNUSED;
// Don't propagate any more // Don't propagate any more