summaryrefslogtreecommitdiff
path: root/src/industry.h
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2010-11-13 15:19:43 +0000
committeralberth <alberth@openttd.org>2010-11-13 15:19:43 +0000
commita245db636006c506b5e11ac51d0287a15a1c24b2 (patch)
treecfd8ac9d898d0675d050ea3344d1772169711fc4 /src/industry.h
parenteb4ab0091ac5ba6d8b647d426593803275d9a9ac (diff)
downloadopenttd-a245db636006c506b5e11ac51d0287a15a1c24b2.tar.xz
(svn r21173) -Codechange: Don't recompute target industry counts each time.
Diffstat (limited to 'src/industry.h')
-rw-r--r--src/industry.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/industry.h b/src/industry.h
index 39e4c2028..03db0a615 100644
--- a/src/industry.h
+++ b/src/industry.h
@@ -153,7 +153,7 @@ struct IndustryTypeBuildData {
void Reset();
- void GetIndustryTypeData(IndustryType it);
+ bool GetIndustryTypeData(IndustryType it);
};
/**