#include <Main/fg_props.hxx>
#include <Main/globals.hxx>
-#include <Main/renderer.hxx>
+#include <Viewer/renderer.hxx>
#include <Scenery/scenery.hxx>
#include "precipitation_mgr.hxx"
{
int i;
int max;
- double elev;
float result;
SGPropertyNode *boundaryNode, *boundaryEntry;
// For each boundary layers
while ( ( boundaryEntry = boundaryNode->getNode( "entry", i ) ) != NULL ) {
- elev = boundaryEntry->getDoubleValue( "elevation-ft" );
+ double elev = boundaryEntry->getDoubleValue( "elevation-ft" );
if (elev > result)
result = elev;