summaryrefslogtreecommitdiff
path: root/station_cmd.c
diff options
context:
space:
mode:
authorcelestar <celestar@openttd.org>2005-01-09 10:04:30 +0000
committercelestar <celestar@openttd.org>2005-01-09 10:04:30 +0000
commit86c3bfd66da0dff9bfae871ee8bb457800659eeb (patch)
tree6bc51ff3cc00d07dfbf0b802b04b92b9f6ae0c9d /station_cmd.c
parente17a8989cf87ee7b94199873429b238e9c0c8d62 (diff)
downloadopenttd-86c3bfd66da0dff9bfae871ee8bb457800659eeb.tar.xz
(svn r1441) Fixed a couple of warnings, and removed a pointless assert
Diffstat (limited to 'station_cmd.c')
-rw-r--r--station_cmd.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/station_cmd.c b/station_cmd.c
index f6bac7bfa..c22b59f0c 100644
--- a/station_cmd.c
+++ b/station_cmd.c
@@ -2612,8 +2612,6 @@ uint MoveGoodsToStation(uint tile, int w, int h, int type, uint amount)
UpdateStationWaiting(st1, type, moved);
}
- assert(amount >= 0);
-
if (amount != 0) {
moved += (amount = (amount * best_rating2 >> 8) + 1);
UpdateStationWaiting(st2, type, amount);