Enable the new nuk_on_plane(), replacing the old one

Callers changed, as the new one isn't a drop-in replacements.
This commit is contained in:
Markus Armbruster 2008-09-06 19:22:56 -04:00
parent 64a53c90f0
commit 4086c25a15
6 changed files with 9 additions and 41 deletions

View file

@ -379,7 +379,6 @@ lnd_next_on_unit(int uid)
return unit_cargo_next(EF_LAND, uid);
}
#if 0 /* clashes with the one in src/lib/subs/nuke.c */
/*
* If PP carries a nuke, return its uid, else -1.
*/
@ -388,4 +387,3 @@ nuk_on_plane(struct plnstr *pp)
{
return unit_cargo_first(EF_PLANE, pp->pln_uid, EF_NUKE);
}
#endif