WIZKIT overflow tweak (trunk only)

Redo the $WIZKIT overflow handling from a few days ago.  Instead of
having two migration codes which both mean "with the hero", combine them
and add a mask flag to control scattering at the destination to be able to
get the alternate behavior.
This commit is contained in:
nethack.rankin
2007-06-19 03:13:20 +00:00
parent d1387f2b6b
commit acc0aa3ff3
4 changed files with 14 additions and 15 deletions

View File

@@ -317,7 +317,7 @@ boolean with_you;
break;
case MIGR_EXACT_XY: wander = 0;
break;
case MIGR_NEAR_PLAYER: xlocale = u.ux, ylocale = u.uy;
case MIGR_WITH_HERO: xlocale = u.ux, ylocale = u.uy;
break;
case MIGR_STAIRS_UP: xlocale = xupstair, ylocale = yupstair;
break;