Commit 5d760aaf authored by Feu's avatar Feu

wip

parent b5204ab0
......@@ -240,7 +240,7 @@ class galaxy
$req = new requete($this->db, "SELECT FLOOR(rx_star/100),FLOOR(ry_star/100),SUM(sum_tense_star) FROM galaxy_star GROUP BY FLOOR(rx_star/100),FLOOR(ry_star/100)");
while ( list($x,$y,$d) = $req->get_row() )
imagesetpixel($img,$x,$y,$this->star_color($img,round($d/2)));
imagesetpixel($img,$x,$y,$this->star_color($img,$d));
imagepng($img,$mini_target);
imagedestroy($img);
......
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