--- a/src/newgrf_engine.cpp Thu Apr 24 13:05:51 2008 +0000
+++ b/src/newgrf_engine.cpp Thu Apr 24 15:51:29 2008 +0000
@@ -1100,18 +1100,6 @@
}
/**
- * Get the EngineID at position pos.
- * Used when drawing a(n unsorted) list of engines.
- * @param pos List position/
- * @return The EngineID at the requested position.
- */
-EngineID GetRailVehAtPosition(EngineID pos)
-{
- if (pos < NUM_TRAIN_ENGINES) return _engine_list_order[pos];
- return pos;
-}
-
-/**
* Get the list position of an engine.
* Used when sorting a list of engines.
* @param engine ID of the engine.
--- a/src/newgrf_engine.h Thu Apr 24 13:05:51 2008 +0000
+++ b/src/newgrf_engine.h Thu Apr 24 15:51:29 2008 +0000
@@ -57,7 +57,6 @@
void UnloadCustomEngineSprites();
void ResetEngineListOrder();
-EngineID GetRailVehAtPosition(EngineID pos);
uint16 ListPositionOfEngine(EngineID engine);
void AlterRailVehListOrder(EngineID engine, EngineID target);