Fix loading x-light missiles on ships without capability plane
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 2 May 2010 16:27:33 +0000 (18:27 +0200)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 9 May 2010 07:08:04 +0000 (09:08 +0200)
commit162158fd4a67a04dab55374225d16295d2aecfac
tree6670f0228b8657fbe1a86e1ee37467f20b00ba29
parent265bd0c56b964e49ac7b63b329aab796ea99d5c0
Fix loading x-light missiles on ships without capability plane

These ships could only use their x-light slots for x-light planes, not
their plane slots.  For instance, agc (30 x-light slots, 32 plane
slots) could load only 30 sams, and mb (0 x-light slots, 10 plane
slots) could not load any sams.

Culprit is could_be_on_ship().  Broken in commit 3e370da5, v4.3.17.
src/lib/subs/plnsub.c