diff options
author | alberth <alberth@openttd.org> | 2010-11-13 15:19:43 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2010-11-13 15:19:43 +0000 |
commit | a245db636006c506b5e11ac51d0287a15a1c24b2 (patch) | |
tree | cfd8ac9d898d0675d050ea3344d1772169711fc4 /src/industry.h | |
parent | eb4ab0091ac5ba6d8b647d426593803275d9a9ac (diff) | |
download | openttd-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.h | 2 |
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); }; /** |