(svn r22562) -Codechange: Remove constness from TownGetVariable.

This commit is contained in:
terkhen
2011-06-12 20:37:26 +00:00
parent f1cde00372
commit dd8a436cbb
5 changed files with 5 additions and 5 deletions

View File

@@ -180,7 +180,7 @@ uint32 IndustryGetVariable(const ResolverObject *object, byte variable, byte par
/* Shall the variable get resolved in parent scope and are we not yet in parent scope? */
if (object->u.industry.gfx == INVALID_INDUSTRYTILE && object->scope == VSG_SCOPE_PARENT) {
/* Pass the request on to the town of the industry */
const Town *t;
Town *t;
if (industry != NULL) {
t = industry->town;