src/oldloader.cpp
changeset 9941 8549448b55fa
parent 9749 ad943e548576
child 10010 09ff8bd74b87
--- a/src/oldloader.cpp	Sun Aug 17 18:48:18 2008 +0000
+++ b/src/oldloader.cpp	Sun Aug 17 19:56:17 2008 +0000
@@ -372,8 +372,7 @@
 			/* If a vehicle has the same orders, add the link to eachother
 			 * in both vehicles */
 			if (v->orders == u->orders) {
-				v->next_shared = u;
-				u->prev_shared = v;
+				u->AddToShared(v);
 				break;
 			}
 		}