There's a minor bug in svn-version...
Quote:
universe/ShipDesign.cpp: In member function 'std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > ShipDesign::Parts(ShipSlotType) const':
universe/ShipDesign.cpp:422: error: 'hull_type' was not declared in this scope
scons: *** [universe/ShipDesign.o] Error 1
Can be fixed by this:
Code:
Index: universe/ShipDesign.cpp
===================================================================
--- universe/ShipDesign.cpp (Revision 2365)
+++ universe/ShipDesign.cpp (Arbeitskopie)
@@ -419,7 +419,7 @@
const std::vector<HullType::Slot>& slots = hull->Slots();
unsigned int size = m_parts.size();
- assert(size == hull_type->NumSlots());
+ assert(size == hull->NumSlots());
// add to output vector each part that is in a slot of the indicated ShipSlotType
for (unsigned int i = 0; i < size; ++i)