Clean up automatic supply leftovers in ship update

Commit 7da69c92 (v4.3.20) removed use of automatic supply from
prod_ship().  It removed bp_enable_cachepath(), but left behind the
final bp_disable_cachepath(); bp_clear_cachepath().  Clean that up.
This commit is contained in:
Markus Armbruster 2009-05-23 10:08:55 +02:00
parent e0a2b4ca4c
commit 9ff6314a0e

View file

@ -83,8 +83,6 @@ prod_ship(int etus, int natnum, struct bp *bp, int build)
if (player->simulation)
np->nat_money = start_money;
}
bp_disable_cachepath();
bp_clear_cachepath();
if (opt_SAIL) {
if (build && !player->simulation) /* make sure to only sail once */