summaryrefslogtreecommitdiff
path: root/src/newgrf.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-08-28 17:29:12 +0000
committerrubidium <rubidium@openttd.org>2010-08-28 17:29:12 +0000
commit34da98f2b14e63c7042f44271d0b452fcd970737 (patch)
treecb2dccaff1ff58b3a26b4d0528d29b205f472c35 /src/newgrf.cpp
parentf1f1c71a415354b00c744573eec7e7b2ce3cf7a4 (diff)
downloadopenttd-34da98f2b14e63c7042f44271d0b452fcd970737.tar.xz
(svn r20647) -Codechange: update some of the object spec information
Diffstat (limited to 'src/newgrf.cpp')
-rw-r--r--src/newgrf.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/newgrf.cpp b/src/newgrf.cpp
index d6babd6cf..3e0a8ff91 100644
--- a/src/newgrf.cpp
+++ b/src/newgrf.cpp
@@ -35,6 +35,7 @@
#include "newgrf_industries.h"
#include "newgrf_airporttiles.h"
#include "newgrf_airport.h"
+#include "newgrf_object.h"
#include "rev.h"
#include "fios.h"
#include "strings_func.h"
@@ -6794,6 +6795,9 @@ static void ResetNewGRFData()
ResetCustomIndustries();
ResetIndustries();
+ /* Reset the objects. */
+ ResetObjects();
+
/* Reset station classes */
StationClass::Reset();
ResetCustomStations();