diff --git a/src/Ext/Techno/Body.cpp b/src/Ext/Techno/Body.cpp index b7040c4f60..e5ce3e5017 100644 --- a/src/Ext/Techno/Body.cpp +++ b/src/Ext/Techno/Body.cpp @@ -471,7 +471,6 @@ int TechnoExt::ExtData::GetAttachedEffectCumulativeCount(AttachEffectTypeClass* // it doesn't check if this transport is actually a transport or not. bool TechnoExt::ExtData::CanLoadPassenger(TechnoClass* pPassenger) const { - auto const pTransport = this->OwnerObject(); auto const pTransportTypeExt = this->TypeExtData; auto const pTransportType = pTransportTypeExt->OwnerObject(); auto const pPassengerType = pPassenger->GetTechnoType();