summaryrefslogtreecommitdiff
path: root/src/newgrf_cargo.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2007-03-24 16:09:39 +0000
committerpeter1138 <peter1138@openttd.org>2007-03-24 16:09:39 +0000
commit0aad93d1cea5f6a4f45dd84841543d7389552a2c (patch)
tree5ea1823ab66a4408f7f5f89d8d7607c5466fa805 /src/newgrf_cargo.h
parent0ecd7f771870f6b5b6c623c842f2605b4789f36d (diff)
downloadopenttd-0aad93d1cea5f6a4f45dd84841543d7389552a2c.tar.xz
(svn r9434) -Fix (r9418): remove typedef from forward declaration to appease MSVC or something
Diffstat (limited to 'src/newgrf_cargo.h')
-rw-r--r--src/newgrf_cargo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_cargo.h b/src/newgrf_cargo.h
index e37d45ee0..1fd3b3d45 100644
--- a/src/newgrf_cargo.h
+++ b/src/newgrf_cargo.h
@@ -21,7 +21,7 @@ static const CargoID CT_DEFAULT = NUM_CARGO + 0;
static const CargoID CT_PURCHASE = NUM_CARGO + 1;
static const CargoID CT_DEFAULT_NA = NUM_CARGO + 2;
-typedef struct CargoSpec;
+struct CargoSpec;
SpriteID GetCustomCargoSprite(const CargoSpec *cs);
uint16 GetCargoCallback(uint16 callback, uint32 param1, uint32 param2, const CargoSpec *cs);