X-Git-Url: http://git.scottworley.com/planeteer/blobdiff_plain/cd276893233916cd2fe1f960ff6e95bfed1aa675..c5ac83cefbee6584612b4ceddbcc52358ad37068:/planeteer.go diff --git a/planeteer.go b/planeteer.go index e3c04cf..72f9935 100644 --- a/planeteer.go +++ b/planeteer.go @@ -520,7 +520,7 @@ func CellValue(data planet_data, dims []int, table []State, addr []int) int32 { // UI: Progress bar cell_filled_count++ - if cell_filled_count&0xff == 0 { + if cell_filled_count&0xfff == 0 { print(fmt.Sprintf("\r%3.1f%%", 100*float64(cell_filled_count)/float64(StateTableSize(dims)))) }