diff options
author | Paul Janzen <pjanzen@cvs.openbsd.org> | 2001-08-12 19:52:57 +0000 |
---|---|---|
committer | Paul Janzen <pjanzen@cvs.openbsd.org> | 2001-08-12 19:52:57 +0000 |
commit | c2e1d74226b20206e9e33c41723486628cdeb3a1 (patch) | |
tree | fd5bcdb6cb8d286780cb6c21305c3939ab76d8d6 /games/rogue/pack.c | |
parent | 7eaf07daccb49c3c8beb61622d11e876aa317c65 (diff) |
make get_input_line more general (only affects wizard mode)
make special attacks a bit less likely in wizard mode
remove declarations of a few nonexistant functions
Diffstat (limited to 'games/rogue/pack.c')
-rw-r--r-- | games/rogue/pack.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/games/rogue/pack.c b/games/rogue/pack.c index fbc3f483b5d..592f8cdbe6e 100644 --- a/games/rogue/pack.c +++ b/games/rogue/pack.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pack.c,v 1.5 2001/08/10 18:32:46 pjanzen Exp $ */ +/* $OpenBSD: pack.c,v 1.6 2001/08/12 19:52:56 pjanzen Exp $ */ /* $NetBSD: pack.c,v 1.3 1995/04/22 10:27:54 cgd Exp $ */ /* @@ -470,7 +470,8 @@ call_it() } id_table = get_id_table(obj); - if (get_input_line("call it:","",buf,id_table[obj->which_kind].title,1,1)) { + if (get_input_line("call it:", "", buf, sizeof(buf), + id_table[obj->which_kind].title, 1, 1)) { id_table[obj->which_kind].id_status = CALLED; (void) strcpy(id_table[obj->which_kind].title, buf); } |