File diff r25654:e264fd698eb2 → r25655:1030dcb7eb52
src/viewport.cpp
Show inline comments
 
@@ -2363,7 +2363,7 @@ bool HandleViewportClicked(const Viewpor
 
	bool result = CheckClickOnLandscape(vp, x, y);
 

	
 
	if (v != nullptr) {
 
		DEBUG(misc, 2, "Vehicle %d (index %d) at %p", v->unitnumber, v->index, v);
 
		Debug(misc, 2, "Vehicle {} (index {}) at {}", v->unitnumber, v->index, fmt::ptr(v));
 
		if (IsCompanyBuildableVehicleType(v)) {
 
			v = v->First();
 
			if (_ctrl_pressed && v->owner == _local_company) {