src/lib/commands/sona.c rev. 1.6 changed first argument of

line_of_sight() to char *.  The changeset failed to change callers.
Fix.
This commit is contained in:
Markus Armbruster 2005-12-28 22:43:39 +00:00
parent 686eadad37
commit aff6cfcafe
4 changed files with 17 additions and 18 deletions

View file

@ -810,7 +810,7 @@ quiet_bigdef(int attacker, struct emp_qelem *list, natid own, natid aown,
range = mapdist(ship.shp_x, ship.shp_y, ax, ay);
if (range > erange)
continue;
if (!line_of_sight((s_char **)0, ship.shp_x, ship.shp_y, ax, ay))
if (!line_of_sight(NULL, ship.shp_x, ship.shp_y, ax, ay))
continue;
(*nfiring)++;