enlever le hasard
This commit is contained in:
@@ -53,7 +53,7 @@ function DrawBlock($the_block, $vImage, $parametres)
|
||||
//if (($x2 - $x1) < ($width*0.015)) break;
|
||||
//if (($y2 - $y1) < ($height*0.015)) break;
|
||||
|
||||
$factor=rand(0,100);
|
||||
$factor=$the_block->nonce % 100;
|
||||
// Je triche: les petits rectangle sont blancs
|
||||
if (($x2 - $x1) < 6) $factor=90;
|
||||
if (($y2 - $y1) < 6) $factor=90;
|
||||
|
||||
Reference in New Issue
Block a user