diff options
author | rubidium <rubidium@openttd.org> | 2007-07-11 15:03:29 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-07-11 15:03:29 +0000 |
commit | 79d04412b051c0350e9885b6d94d56bf0d251037 (patch) | |
tree | 1722ab0a55cf1ae1d36b67ccd3be22083d15d653 /src/economy.cpp | |
parent | 8d4b7ac33b3447896b0d4e5f0bbb2548b445a2f1 (diff) | |
download | openttd-79d04412b051c0350e9885b6d94d56bf0d251037.tar.xz |
(svn r10508) -Codechange: allow customizable animation schemes for industries.
Diffstat (limited to 'src/economy.cpp')
-rw-r--r-- | src/economy.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/economy.cpp b/src/economy.cpp index 713af79a7..25c26fd7e 100644 --- a/src/economy.cpp +++ b/src/economy.cpp @@ -36,6 +36,7 @@ #include "newgrf_sound.h" #include "newgrf_callbacks.h" #include "newgrf_industries.h" +#include "newgrf_industrytiles.h" #include "unmovable.h" #include "date.h" #include "cargotype.h" @@ -1251,6 +1252,8 @@ static void DeliverGoodsToIndustry(TileIndex xy, CargoID cargo_type, int num_pie best->produced_cargo_waiting[0] = min(best->produced_cargo_waiting[0] + (num_pieces * indspec->input_cargo_multiplier[accepted_cargo_index][0] / 256), 0xFFFF); best->produced_cargo_waiting[1] = min(best->produced_cargo_waiting[1] + (num_pieces * indspec->input_cargo_multiplier[accepted_cargo_index][1] / 256), 0xFFFF); } + + StartStopIndustryTileAnimation(best, IAT_INDUSTRY_RECEIVED_CARGO); } } |