File diff r13925:e96b87452ce6 → r13926:df3a72e4160c
src/vehicle.cpp
Show inline comments
 
@@ -1616,6 +1616,8 @@ CommandCost Vehicle::SendToDepot(DoComma
 

	
 
void Vehicle::SetNext(Vehicle *next)
 
{
 
	assert(this != next);
 

	
 
	if (this->next != NULL) {
 
		/* We had an old next vehicle. Update the first and previous pointers */
 
		for (Vehicle *v = this->next; v != NULL; v = v->Next()) {