summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2006-08-24 01:25:00 +0000
committerbelugas <belugas@openttd.org>2006-08-24 01:25:00 +0000
commit8561879ea6e961b9dc036d424043be09f84d1266 (patch)
tree153e8e7a39aedecdefd81bcb11cb5c2d897b5d2d
parent9bb2a97e576be0c09121e601ab238f17753a9123 (diff)
downloadopenttd-8561879ea6e961b9dc036d424043be09f84d1266.tar.xz
(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
-rw-r--r--genworld_gui.c1
-rw-r--r--newgrf_cargo.h3
2 files changed, 1 insertions, 3 deletions
diff --git a/genworld_gui.c b/genworld_gui.c
index 7d3715556..92f1b680e 100644
--- a/genworld_gui.c
+++ b/genworld_gui.c
@@ -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"
diff --git a/newgrf_cargo.h b/newgrf_cargo.h
index a95d17396..d3b352e48 100644
--- a/newgrf_cargo.h
+++ b/newgrf_cargo.h
@@ -3,9 +3,6 @@
#ifndef NEWGRF_CARGO_H
#define NEWGRF_CARGO_H
-#include "table/sprites.h"
-
-
enum {
CC_NOAVAILABLE = 0,
CC_PASSENGERS = 1 << 0,