summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--currency.c1
-rw-r--r--newgrf.c7
2 files changed, 2 insertions, 6 deletions
diff --git a/currency.c b/currency.c
index d62aa2d73..960c56d3a 100644
--- a/currency.c
+++ b/currency.c
@@ -98,3 +98,4 @@ void CheckSwitchToEuro(void)
AddNewsItem(STR_EURO_INTRODUCE, NEWS_FLAGS(NM_NORMAL, 0, NT_ECONOMY, 0), 0, 0);
}
}
+
diff --git a/newgrf.c b/newgrf.c
index e72c5929e..b1cd9a20c 100644
--- a/newgrf.c
+++ b/newgrf.c
@@ -1067,11 +1067,6 @@ static bool BridgeChangeInfo(uint brid, int numinfo, int prop, byte **bufp, int
return ret;
}
-static bool CargosChangeInfo(uint gvid, int numinfo, int prop, byte **bufp, int len)
-{
- return false;
-}
-
static bool GlobalVarChangeInfo(uint gvid, int numinfo, int prop, byte **bufp, int len)
{
byte *buf = *bufp;
@@ -1131,7 +1126,7 @@ static void FeatureChangeInfo(byte *buf, int len)
/* GSF_GLOBALVAR */ GlobalVarChangeInfo,
/* GSF_INDUSTRYTILES */NULL,
/* GSF_INDUSTRIES */ NULL,
- /* GSF_CARGOS */ CargosChangeInfo,
+ /* GSF_CARGOS */ NULL,
/* GSF_SOUNDFX */ NULL,
};