summaryrefslogtreecommitdiff
path: root/src/town_cmd.cpp
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2009-08-07 22:23:34 +0000
committersmatz <smatz@openttd.org>2009-08-07 22:23:34 +0000
commit74d3382b946d71445fbce5699d1541946e928450 (patch)
tree03fe2b58ca63a3e1629c08eefbdf061154cc977c /src/town_cmd.cpp
parent39e145e586385861b4e3ded70f7df0a29b56fa00 (diff)
downloadopenttd-74d3382b946d71445fbce5699d1541946e928450.tar.xz
(svn r17107) -Codechange: store type of subsidy source and destination in the Subsidy struct instead of determining it every time it's needed
Diffstat (limited to 'src/town_cmd.cpp')
-rw-r--r--src/town_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/town_cmd.cpp b/src/town_cmd.cpp
index 743a07b88..bb16c11e1 100644
--- a/src/town_cmd.cpp
+++ b/src/town_cmd.cpp
@@ -98,7 +98,7 @@ Town::~Town()
}
}
- DeleteSubsidyWithTown(this->index);
+ DeleteSubsidyWith(ST_TOWN, this->index);
MarkWholeScreenDirty();
}