return struct fields borrowed in 3.6
This will break existing 3.7 save/bones.
This commit is contained in:
@@ -646,14 +646,14 @@ unsigned long mflags;
|
||||
/* once in a blue moon, he won't be at the very bottom */
|
||||
if (!rn2(40))
|
||||
nlev--;
|
||||
mtmp->mspare1 |= MIGR_LEFTOVERS;
|
||||
mtmp->migflags |= MIGR_LEFTOVERS;
|
||||
} else {
|
||||
nlev = rn2((max_depth - cur_depth) + 1) + cur_depth;
|
||||
if (nlev == cur_depth)
|
||||
nlev++;
|
||||
if (nlev > max_depth)
|
||||
nlev = max_depth;
|
||||
mtmp->mspare1 = (mtmp->mspare1 & ~MIGR_LEFTOVERS);
|
||||
mtmp->migflags = (mtmp->migflags & ~MIGR_LEFTOVERS);
|
||||
}
|
||||
get_level(&dest, nlev);
|
||||
migrate_to_level(mtmp, ledger_no(&dest), MIGR_RANDOM, (coord *) 0);
|
||||
|
||||
Reference in New Issue
Block a user