Bug 2632: no flying convoy

This commit is contained in:
Enno Rehling 2020-01-13 22:21:26 +01:00
parent 00ac549750
commit 06f00cae53
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ int sp_flying_ship(castorder * co)
if (pa->param[0]->flag == TARGET_NOTFOUND)
return 0;
sh = pa->param[0]->data.sh;
if (sh->type->construction->maxsize > 50) {
if (sh->number > 1 || sh->type->construction->maxsize > 50) {
ADDMSG(&caster->faction->msgs, msg_feedback(caster, co->order,
"error_flying_ship_too_big", "ship", sh));
return 0;