\#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:
+3
-1
@@ -3151,9 +3151,11 @@ tty_message_menu(char let, int how, const char *mesg)
|
||||
return ((how == PICK_ONE && morc == let) || morc == '\033') ? morc : '\0';
|
||||
}
|
||||
|
||||
/* update persistent inventory window */
|
||||
void
|
||||
tty_update_inventory(void)
|
||||
tty_update_inventory(int arg UNUSED)
|
||||
{
|
||||
/* tty doesn't support persistent inventory window */
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user