Permit no-op country name change again
Commit aa5861d1
(v4.3.20) made add, edit and change reject a country
name that is already in use. Even if it's used by the same country.
Relax that.
This commit is contained in:
parent
9b2e906ea1
commit
062c660e28
5 changed files with 9 additions and 8 deletions
|
@ -77,7 +77,7 @@ chan(void)
|
|||
p = getstarg(player->argp[2], "New country name -- ", buf);
|
||||
if (!p)
|
||||
return RET_SYN;
|
||||
if (!check_nat_name(p))
|
||||
if (!check_nat_name(p, player->cnum))
|
||||
return RET_FAIL;
|
||||
player->dolcost += charge;
|
||||
player->btused += btucost;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue