X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=src%2Fmisc.c;h=a4781c9f72d90b848283c69433b7f75450c7a53f;hb=caf7e50574dc4fb3756a386257863e5b8b42ad98;hp=88d83165928b6f810252dc8bc91dcd741abbb3af;hpb=b392e7b60ee954f1a8476d2cd2d92538b1873b2f;p=plomrogue diff --git a/src/misc.c b/src/misc.c index 88d8316..a4781c9 100644 --- a/src/misc.c +++ b/src/misc.c @@ -264,11 +264,13 @@ extern struct yx_uint16 find_passable_pos(struct Map * map) -extern uint8_t meta_keys(int key, struct World * world, - struct WinMeta * win_meta, struct Win * win_keys, - struct Win * win_map, struct Win * win_info, - struct Win * win_log) +extern uint8_t meta_keys(int key, struct World * world) { + struct WinMeta * win_meta = world->wins.meta; + struct Win * win_keys = world->wins.keys; + struct Win * win_map = world->wins.map; + struct Win * win_info = world->wins.info; + struct Win * win_log = world->wins.log; char * err_toggle = "Trouble with toggle_window() in meta_keys()."; char * err_shift = "Trouble with shift_active_win() in meta_keys()."; char * err_resize = "Trouble with growshrink_active_window() in "