Diff of /lib/Orbiter/BurnTime.cpp [381968] .. [44f5ec]  Maximize  Restore

Switch to side-by-side view

--- a/lib/Orbiter/BurnTime.cpp
+++ b/lib/Orbiter/BurnTime.cpp
@@ -102,6 +102,6 @@
 	// Get the total mass of all the vessels in the list.
 	double stackMass = 0.0;
 	for(vector<VESSEL*>::iterator it = stack.begin(); it != stack.end(); it++)
-		stackMass += ((VESSEL*)*it)->GetMass();
+		stackMass += (*it)->GetMass();
 	return stackMass;
 }

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks