summaryrefslogtreecommitdiff
path: root/economy.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-02-06 08:18:00 +0000
committertron <tron@openttd.org>2005-02-06 08:18:00 +0000
commit0381073e56049b39df7fa28cc082a41829951724 (patch)
treee7f49d247bb563381139e0a730ab1ece0b430e89 /economy.c
parent0b8876e946b3a9b38b57d9688512cb7a54148720 (diff)
downloadopenttd-0381073e56049b39df7fa28cc082a41829951724.tar.xz
(svn r1813) Declare functions implemented in strings.c in their own shiny new header (though i think some of these function don't belong into strings.c)
Diffstat (limited to 'economy.c')
-rw-r--r--economy.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/economy.c b/economy.c
index c42fdfaa2..66aaff6f2 100644
--- a/economy.c
+++ b/economy.c
@@ -1,5 +1,6 @@
#include "stdafx.h"
#include "ttd.h"
+#include "strings.h" // XXX InjectDParam()
#include "table/strings.h"
#include "map.h"
#include "news.h"
@@ -1191,7 +1192,7 @@ static bool CheckSubsidised(Station *from, Station *to, byte cargo_type)
/* Add a news item */
pair = SetupSubsidyDecodeParam(s, 0);
- INJECT_DPARAM(2);
+ InjectDParam(2);
p = DEREF_PLAYER(_current_player);
SetDParam(0, p->name_1);