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:
@@ -2428,7 +2428,7 @@ struct obj *obj;
|
||||
add_to_migration(obj);
|
||||
obj->ox = 0; /* index of main dungeon */
|
||||
obj->oy = 1; /* starting level number */
|
||||
obj->owornmask = (long)(MIGR_AT_HERO|MIGR_NOBREAK);
|
||||
obj->owornmask = (long)(MIGR_WITH_HERO | MIGR_NOBREAK|MIGR_NOSCATTER);
|
||||
} else {
|
||||
(void)addinv(obj);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user