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.
Fixes #441 (see https://github.com/wiremod/advdupe2/issues/441#issuecomment-1784280335)
This avoids using
LocalPos
field ofv
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.