From 7395705775fd2cbfb86663739490a79650867850 Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Tue, 26 Mar 2019 22:15:56 +0000 Subject: [PATCH] Remove assertion in TownGenerateCargo It is not correct with the new town cargo generation algorithm --- src/town_cmd.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/town_cmd.cpp b/src/town_cmd.cpp index 476a37e456..4aa776e9de 100644 --- a/src/town_cmd.cpp +++ b/src/town_cmd.cpp @@ -648,9 +648,6 @@ static void TownGenerateCargo (Town *t, CargoID ct, uint amount, StationFinder & amount = amount << cf; } - // with the adjustments above, this should never happen - assert(amount > 0); - // calculate for town stats switch (ct) {