(cede): Require recipient is in STAT_ACTIVE. Should not make a

difference, because the recipient must have suitable assets nearby,
but is clearer.
This commit is contained in:
Markus Armbruster 2006-01-06 13:47:32 +00:00
parent b94b3b1b7f
commit 8d578153c7

View file

@ -99,7 +99,7 @@ cede(void)
return RET_FAIL; return RET_FAIL;
} }
natp = getnatp(n); natp = getnatp(n);
if (natp->nat_stat == STAT_GOD) { if (natp->nat_stat != STAT_ACTIVE) {
pr("You can only give to normal countries...\n"); pr("You can only give to normal countries...\n");
return RET_FAIL; return RET_FAIL;
} }