mirror of
https://bitbucket.org/s_l_teichmann/mtsatellite
synced 2024-11-15 14:50:21 +01:00
Removed another use of fmt.Printf.
This commit is contained in:
parent
470b47f70a
commit
39df42b675
|
@ -5,7 +5,6 @@
|
||||||
package common
|
package common
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
|
||||||
"image/color"
|
"image/color"
|
||||||
"log"
|
"log"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
|
@ -121,7 +120,7 @@ func (btc *BaseTileCreator) CreateTile(x, z int16, i, j int) error {
|
||||||
16, 16, (tileWidth-2)*16, (tileHeight-2)*16,
|
16, 16, (tileWidth-2)*16, (tileHeight-2)*16,
|
||||||
btc.colors, color.RGBA{R: 0xff, G: 0xff, B: 0xff, A: 0xff})
|
btc.colors, color.RGBA{R: 0xff, G: 0xff, B: 0xff, A: 0xff})
|
||||||
|
|
||||||
path := filepath.Join(btc.baseDir, strconv.Itoa(i), fmt.Sprintf("%d.png", j))
|
path := filepath.Join(btc.baseDir, strconv.Itoa(i), strconv.Itoa(j)+".png")
|
||||||
|
|
||||||
log.Printf("Writing (%d, %d) to file %s\n", x, z, path)
|
log.Printf("Writing (%d, %d) to file %s\n", x, z, path)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user