Commit f91ac240 authored by Feu's avatar Feu

test d'optimisationdu placement

parent 4a3cc0a2
......@@ -440,7 +440,7 @@ class galaxy
{
for($cy=$y;$cy<$y+$s;$cy+=$s/3)
{
$d = get_density($cx,$cy,$cx+($s/3),$cy+($s/3), $except);
$d = $this->get_density($cx,$cy,$cx+($s/3),$cy+($s/3), $except);
if ( $d == 0 )
return array($cx+($s/6),$cy+($s/6));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment