Fixing bugs in relation to #12

This commit is contained in:
bakkeby
2020-03-21 14:23:27 +01:00
parent 873b856428
commit 9bc39c02b2
3 changed files with 5 additions and 5 deletions

View File

@@ -57,7 +57,7 @@ getfactsforrange(Monitor *m, int an, int ai, int size, int *rest, float *fact)
#if CFACTS_PATCH
total += size * (c->cfact / facts);
#else
total += size / sfacts;
total += size / facts;
#endif // CFACTS_PATCH
*rest = size - total;