newgrf.c
changeset 2438 eaef2b29fa3d
parent 2421 7b6750d797bd
child 2439 c820a9751afc
--- a/newgrf.c	Mon Sep 19 16:03:47 2005 +0000
+++ b/newgrf.c	Tue Sep 20 09:38:09 2005 +0000
@@ -47,6 +47,7 @@
 	GSF_SHIP,
 	GSF_AIRCRAFT,
 	GSF_STATION,
+	GSF_CANAL,
 	GSF_BRIDGE,
 	GSF_TOWNHOUSE,
 } grfspec_feature;
@@ -1009,12 +1010,13 @@
 	 * V new-info      new bytes of info (variable size; depends on properties) */
 	/* TODO: Bridges, town houses. */
 
-	static const VCI_Handler handler[7] = {
+	static const VCI_Handler handler[] = {
 		/* GSF_TRAIN */    RailVehicleChangeInfo,
 		/* GSF_ROAD */     RoadVehicleChangeInfo,
 		/* GSF_SHIP */     ShipVehicleChangeInfo,
 		/* GSF_AIRCRAFT */ AircraftVehicleChangeInfo,
 		/* GSF_STATION */  StationChangeInfo,
+		/* GSF_CANAL */    NULL,
 		/* GSF_BRIDGE */   NULL,
 		/* GSF_TOWNHOUSE */NULL,
 	};