Fixed tile progress
Signed-off-by: merspieler <merspieler@airmail.cc>
This commit is contained in:
parent
8517de2d65
commit
2b0606110c
1 changed files with 3 additions and 4 deletions
|
@ -63,11 +63,10 @@ while i < argc:
|
||||||
eM = (int(e) - em) / 10
|
eM = (int(e) - em) / 10
|
||||||
nM = (int(n) - nm) / 10
|
nM = (int(n) - nm) / 10
|
||||||
|
|
||||||
#FIXME wrong in some edge cases
|
cs = n - s
|
||||||
if nm == 0:
|
if nm == 0:
|
||||||
wm += 1
|
nm = 10
|
||||||
|
tile = ((10 - wm) % 10) * 10 + cs * cs * (nm / cs)
|
||||||
tile = wm * 10 + nm
|
|
||||||
|
|
||||||
|
|
||||||
rows = 0
|
rows = 0
|
||||||
|
|
Loading…
Reference in a new issue