summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/newgrf_industries.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_industries.cpp b/src/newgrf_industries.cpp
index 3b6722125..b9437531d 100644
--- a/src/newgrf_industries.cpp
+++ b/src/newgrf_industries.cpp
@@ -393,7 +393,7 @@ static int32 DerefIndProd(uint field, bool use_register)
void IndustryProductionCallback(Industry *ind, int reason)
{
ResolverObject object;
- NewIndustryResolver(&object, INVALID_TILE, ind);
+ NewIndustryResolver(&object, ind->xy, ind);
object.callback_param2 = reason;
for (uint loop = 0;; loop++) {