diff options
author | celestar <celestar@openttd.org> | 2005-01-09 10:04:30 +0000 |
---|---|---|
committer | celestar <celestar@openttd.org> | 2005-01-09 10:04:30 +0000 |
commit | 86c3bfd66da0dff9bfae871ee8bb457800659eeb (patch) | |
tree | 6bc51ff3cc00d07dfbf0b802b04b92b9f6ae0c9d /station_cmd.c | |
parent | e17a8989cf87ee7b94199873429b238e9c0c8d62 (diff) | |
download | openttd-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.c | 2 |
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); |