(do_look): Make public.
(do_unit_move): Switch look() and llook() to use do_look() instead.
This commit is contained in:
parent
b0a9e3579f
commit
e8f74e0f7e
3 changed files with 3 additions and 6 deletions
|
@ -248,10 +248,7 @@ do_unit_move(struct emp_qelem *unit_list, int *together,
|
|||
player->btused++;
|
||||
continue;
|
||||
case 'l':
|
||||
if (type == EF_SHIP)
|
||||
look();
|
||||
else
|
||||
llook();
|
||||
do_look(type);
|
||||
player->btused++;
|
||||
continue;
|
||||
case 's':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue