(powe): Fix `pow n' not to ignore second argument when BTUs don't
suffice for `n'.
This commit is contained in:
parent
b27c7ea77d
commit
51baf40e90
1 changed files with 2 additions and 2 deletions
|
@ -81,9 +81,9 @@ powe(void)
|
|||
else {
|
||||
gen_power();
|
||||
power_generated = 1;
|
||||
}
|
||||
if (player->argp[2])
|
||||
num = atoi(player->argp[2]);
|
||||
}
|
||||
} else if (player->argp[1][0] == 'c') {
|
||||
snxtitem(&ni, EF_NATION, player->argp[2]);
|
||||
while (nxtitem(&ni, &nat)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue