[DGD] Purpose of dinterval calculation

Raymond Jennings shentino at gmail.com
Tue Mar 28 06:01:30 CEST 2017


Appreciate the fast fix ^^

I'm still curious though about the "* 19 / 20" logic.

On Mon, Mar 27, 2017 at 4:02 AM, Raymond Jennings <shentino at gmail.com> wrote:
> What is the purpose of this line:
>
> dinterval = (interval * 19) / 20
>
> in object.cpp?
>
> I ask because it would appear that if I pass in a dump_interval of 1,
> it gets rounded down to 0 which has very different semantics.



More information about the DGD mailing list