wiremod / advdupe2

Advanced Duplicator 2
http://wiremod.com
Apache License 2.0
90 stars 60 forks source link

Track revision in Queue to avoid bad backwards compat #442

Closed Denneisk closed 1 year ago

Denneisk commented 1 year ago

Fixes #441 (see https://github.com/wiremod/advdupe2/issues/441#issuecomment-1784280335)

This avoids using LocalPos field of v if not in AdvDupe1 mode. I don't know if this needs to be done for any other fields, or if the struct should be rewritten, because I cannot comprehend it.

Extra code changes include fixing a local from a global, removing an unused local, cleaning up initialization of Queue object.