summaryrefslogtreecommitdiff
path: root/src/newgrf_object.h
diff options
context:
space:
mode:
authorterkhen <terkhen@openttd.org>2011-06-12 20:36:33 +0000
committerterkhen <terkhen@openttd.org>2011-06-12 20:36:33 +0000
commitf1cde00372ccb90b56919a3e647e7a05a7dc672d (patch)
tree70e5a0ae137a65fd42ec63a9f6bda35d7b6db89e /src/newgrf_object.h
parent76cd19f84608c134f642bca4e303f4b7370c7017 (diff)
downloadopenttd-f1cde00372ccb90b56919a3e647e7a05a7dc672d.tar.xz
(svn r22561) -Codechange: Remove constness from Object in ResolverObject.
Diffstat (limited to 'src/newgrf_object.h')
-rw-r--r--src/newgrf_object.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_object.h b/src/newgrf_object.h
index 5997f8d5a..2065b49d8 100644
--- a/src/newgrf_object.h
+++ b/src/newgrf_object.h
@@ -95,7 +95,7 @@ typedef NewGRFClass<ObjectSpec, ObjectClassID, OBJECT_CLASS_MAX> ObjectClass;
/** Mapping of purchase for objects. */
static const CargoID CT_PURCHASE_OBJECT = 1;
-uint16 GetObjectCallback(CallbackID callback, uint32 param1, uint32 param2, const ObjectSpec *spec, const Object *o, TileIndex tile, uint8 view = 0);
+uint16 GetObjectCallback(CallbackID callback, uint32 param1, uint32 param2, const ObjectSpec *spec, Object *o, TileIndex tile, uint8 view = 0);
void DrawNewObjectTile(TileInfo *ti, const ObjectSpec *spec);
void DrawNewObjectTileInGUI(int x, int y, const ObjectSpec *spec, uint8 view);