(radar): New, moved functionality from rada() except ef_type determination.

(rada): Call radar() with EF_SHIP.
(lrad): New, call radar() with EF_LAND.
(empmod[]): Call lrad() for lradar command.
(march, navi): Call radar() with appropriate type.
This commit is contained in:
Ron Koenderink 2006-08-16 01:16:30 +00:00
parent ed88f3140d
commit a9a9957a27
5 changed files with 16 additions and 7 deletions

View file

@ -179,7 +179,7 @@ navi(void)
stopping |= shp_sweep(&ship_list, 1, 0, player->cnum);
break;
case 'r':
rada();
radar(EF_SHIP);
skip = 1;
player->btused++;
break;