\#perminv, 1 of 2: groundwork

Give the window-port side of *_update_inventory() an argument.
Calls in the core still omit that; invent.c's update_inventory()
is the only place that cares.
This commit is contained in:
PatR
2021-03-13 18:17:00 -08:00
parent 160344feaa
commit dd49431296
21 changed files with 235 additions and 179 deletions
+2 -3
View File
@@ -284,12 +284,11 @@ const char *mesg;
}
void
chainout_update_inventory(vp)
void *vp;
chainout_update_inventory(void *vp, int arg)
{
struct chainout_data *tdp = vp;
(*tdp->nprocs->win_update_inventory)();
(*tdp->nprocs->win_update_inventory)(arg);
}
void