Bridge building required 0.005 tech less than advertized, fix
Has been that way since bridge building required tech.
This commit is contained in:
parent
9ef7200406
commit
df07e45b70
1 changed files with 2 additions and 2 deletions
|
@ -649,7 +649,7 @@ build_bridge(char what)
|
||||||
|
|
||||||
switch (what) {
|
switch (what) {
|
||||||
case 'b':
|
case 'b':
|
||||||
if (natp->nat_level[NAT_TLEV] + 0.005 < buil_bt) {
|
if (natp->nat_level[NAT_TLEV] < buil_bt) {
|
||||||
pr("Building a span requires a tech of %.0f\n", buil_bt);
|
pr("Building a span requires a tech of %.0f\n", buil_bt);
|
||||||
return RET_FAIL;
|
return RET_FAIL;
|
||||||
}
|
}
|
||||||
|
@ -660,7 +660,7 @@ build_bridge(char what)
|
||||||
pr("Bridge tower building is disabled.\n");
|
pr("Bridge tower building is disabled.\n");
|
||||||
return RET_FAIL;
|
return RET_FAIL;
|
||||||
}
|
}
|
||||||
if (natp->nat_level[NAT_TLEV] + 0.005 < buil_tower_bt) {
|
if (natp->nat_level[NAT_TLEV] < buil_tower_bt) {
|
||||||
pr("Building a tower requires a tech of %.0f\n",
|
pr("Building a tower requires a tech of %.0f\n",
|
||||||
buil_tower_bt);
|
buil_tower_bt);
|
||||||
return RET_FAIL;
|
return RET_FAIL;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue