(drop, fly): Fix previous rev. not to prohibit flying civilians to an
ally. Since you can load them onto their ships, you should be able to fly them over.
This commit is contained in:
parent
98a7936c08
commit
20199b2236
2 changed files with 6 additions and 16 deletions
|
@ -113,14 +113,9 @@ fly(void)
|
|||
dst_type = EF_SHIP;
|
||||
}
|
||||
|
||||
if (ip && ip->i_vtype == V_CIVIL) {
|
||||
if (target.sct_own != player->cnum) {
|
||||
pr("Your civilians refuse to emigrate!\n");
|
||||
return RET_FAIL;
|
||||
} else if (target.sct_own != target.sct_oldown) {
|
||||
pr("Can't drop civilians into occupied sectors.\n");
|
||||
return RET_FAIL;
|
||||
}
|
||||
if (ip && ip->i_vtype == V_CIVIL && target.sct_own != target.sct_oldown) {
|
||||
pr("Can't fly civilians into occupied sectors.\n");
|
||||
return RET_FAIL;
|
||||
}
|
||||
|
||||
ap_to_target = strlen(flightpath);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue