Quote:
|
Originally Posted by projectigi
NPC Code:
for( this.dy = 0; this.dy < 128; this.i1++ )
{
for( this.dx = 0; this.dx < 128; this.dx++ )
{
this.map[ this.dx ][ this.dy ] = int( random( 1, 3.99 ));
}
}
thats my loop :P
|
NPC Code:
for( this.dy = 0; this.dy < 128; this.i1++ )
You are adding this.i1 instead of this.dy, which I assume you meant to do. That is going to cause an infinite loop.