(svn r6082) -CodeChange : Remove the unneeded table/sprites.h include in newgrf_cargo.h.
authorbelugas
Thu, 24 Aug 2006 01:25:00 +0000
changeset 4366 b40a2ecadf99
parent 4365 714adbfd42c0
child 4367 dbbc95190aa7
(svn r6082) -CodeChange : Remove the unneeded table/sprites.h include in newgrf_cargo.h.
Set it in genworld_gui.c instead, as it is really needed
genworld_gui.c
newgrf_cargo.h
--- a/genworld_gui.c	Wed Aug 23 23:23:14 2006 +0000
+++ b/genworld_gui.c	Thu Aug 24 01:25:00 2006 +0000
@@ -5,6 +5,7 @@
 #include "heightmap.h"
 #include "functions.h"
 #include "table/strings.h"
+#include "table/sprites.h"
 #include "window.h"
 #include "gui.h"
 #include "gfx.h"
--- a/newgrf_cargo.h	Wed Aug 23 23:23:14 2006 +0000
+++ b/newgrf_cargo.h	Thu Aug 24 01:25:00 2006 +0000
@@ -3,9 +3,6 @@
 #ifndef NEWGRF_CARGO_H
 #define NEWGRF_CARGO_H
 
-#include "table/sprites.h"
-
-
 enum {
 	CC_NOAVAILABLE  = 0,
 	CC_PASSENGERS   = 1 << 0,