From 9ff6314a0e9e89856055b83f913d069654fa9064 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Sat, 23 May 2009 10:08:55 +0200 Subject: [PATCH] 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. --- src/lib/update/ship.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/lib/update/ship.c b/src/lib/update/ship.c index 3b972250..20a71ce1 100644 --- a/src/lib/update/ship.c +++ b/src/lib/update/ship.c @@ -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 */