summaryrefslogtreecommitdiff
path: root/src/economy.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-09-19 09:51:14 +0000
committerrubidium <rubidium@openttd.org>2009-09-19 09:51:14 +0000
commite8ddf001c87790cde6e03e9ca47714b6fc30266c (patch)
treeee79ed87da1aba8bb3af2e0ca22d10abe5621b08 /src/economy.cpp
parentfa33b92b0f3fae58a7fee4dd9a74fd43bf7d1f9a (diff)
downloadopenttd-e8ddf001c87790cde6e03e9ca47714b6fc30266c.tar.xz
(svn r17570) -Fix: a number of Doxygen warnings about missing parameters, which were sometimes missing and sometimes just typos
Diffstat (limited to 'src/economy.cpp')
-rw-r--r--src/economy.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/economy.cpp b/src/economy.cpp
index a217fc595..10be114e2 100644
--- a/src/economy.cpp
+++ b/src/economy.cpp
@@ -855,7 +855,8 @@ static SmallIndustryList _cargo_delivery_destinations;
* All cargo is delivered to the nearest (Manhattan) industry to the station sign, which is inside the acceptance rectangle and actually accepts the cargo.
* @param st The station that accepted the cargo
* @param cargo_type Type of cargo delivered
- * @param nun_pieces Amount of cargo delivered
+ * @param num_pieces Amount of cargo delivered
+ * @param source The source of the cargo
* @return actually accepted pieces of cargo
*/
static uint DeliverGoodsToIndustry(const Station *st, CargoID cargo_type, uint num_pieces, IndustryID source)
@@ -903,6 +904,7 @@ static uint DeliverGoodsToIndustry(const Station *st, CargoID cargo_type, uint n
/**
* Delivers goods to industries/towns and calculates the payment
* @param num_pieces amount of cargo delivered
+ * @param cargo_type the type of cargo that is delivered
* @param dest Station the cargo has been unloaded
* @param source_tile The origin of the cargo for distance calculation
* @param days_in_transit Travel time