src/oldloader.cpp
branchNewGRF_ports
changeset 6870 ca3fd1fbe311
parent 6868 7eb395287b3d
child 6871 5a9dc001e1ad
--- a/src/oldloader.cpp	Thu Sep 06 19:42:48 2007 +0000
+++ b/src/oldloader.cpp	Sat Oct 06 21:16:00 2007 +0000
@@ -1175,7 +1175,7 @@
 	OCL_END()
 };
 
-static bool LoadOldVehicle(LoadgameState *ls, int num)
+bool LoadOldVehicle(LoadgameState *ls, int num)
 {
 	uint i;
 
@@ -1206,7 +1206,7 @@
 			default:   v->spritenum >>= 1; break;
 		}
 
-		if (_old_next_ptr != 0xFFFF) v->SetNext(GetVehicle(_old_next_ptr));
+		if (_old_next_ptr != 0xFFFF) v->next = GetVehicle(_old_next_ptr);
 
 		v->string_id = RemapOldStringID(_old_string_id);