#include <Main/fg_props.hxx>
#include <Scenery/tileentry.hxx>
+#include "newmat.hxx"
#include "matlib.hxx"
SG_USING_NAMESPACE(std);
if (!strcmp(node->getName(), "material")) {
FGNewMat * m = new FGNewMat(node);
- vector<const SGPropertyNode *>names = node->getChildren("name");
+ vector<SGPropertyNode_ptr>names = node->getChildren("name");
for (unsigned int j = 0; j < names.size(); j++) {
string name = names[j]->getStringValue();
m->ref();