From 86c3bfd66da0dff9bfae871ee8bb457800659eeb Mon Sep 17 00:00:00 2001 From: celestar Date: Sun, 9 Jan 2005 10:04:30 +0000 Subject: (svn r1441) Fixed a couple of warnings, and removed a pointless assert --- station_cmd.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'station_cmd.c') 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); -- cgit v1.2.3-54-g00ecf