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

@ -571,7 +571,7 @@ perform_mission(coord x, coord y, natid victim, struct emp_qelem *list,
if (md > range)
continue;
if (!line_of_sight((s_char **)0, x, y, gp->x, gp->y))
if (!line_of_sight(NULL, x, y, gp->x, gp->y))
continue;
sp->shp_item[I_SHELL] = shell - SHP_TORP_SHELLS;
mobcost = sp->shp_effic * 0.01 * sp->shp_speed;