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:
parent
686eadad37
commit
aff6cfcafe
4 changed files with 17 additions and 18 deletions
|
@ -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)++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue