--- a/src/newgrf_fsmports.cpp Fri Apr 25 02:12:41 2008 +0000
+++ b/src/newgrf_fsmports.cpp Fri Apr 25 02:15:34 2008 +0000
@@ -569,10 +569,10 @@
}
-/** Deallocate a FSMportsSpec from a Station. Called when removing a single station tile.
+/** Deallocate a FSMportsSpec from a Station.
* @param st Station to work with.
* @param specindex Index of the custom station within the FSMports's spec list.
- * @return Indicates whether the FSMportsSpec was deallocated.
+ * @return None.
*/
void DeallocateSpecFromFSMports(Station* st, byte specindex)
{
@@ -598,6 +598,11 @@
}
}
+/** Remove a FSMportsSpec from a Station, by reference of the spec itself.
+ * @param st Station to work with.
+ * @param fsmportspec of the custom spec.
+ * @return None.
+ */
void RemoveFSMSpecFromStationList(Station *st, const FSMportsSpec *fsmportspec)
{
uint i;