forked from github/server
Bug 2632: no flying convoy
This commit is contained in:
parent
00ac549750
commit
06f00cae53
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue