}
// clear messages belonging to old replay session
- fgGetNode("/sim/replay/messages", 0, true)->removeChildren("msg", false);
+ fgGetNode("/sim/replay/messages", 0, true)->removeChildren("msg");
}
/**
struct tm *local_tm;
local_tm = localtime( &calendar_time );
char time_str[256];
- strftime( time_str, 256, "%Y%02m%02d-%02H%02M%02S", local_tm);
+ strftime( time_str, 256, "%Y%m%d-%H%M%S", local_tm);
p.concat(time_str);
p.concat(".fgtape");
simgear::PathList list = dir.children(simgear::Dir::TYPE_FILE, ".fgtape");
SGPropertyNode* TapeList = fgGetNode("/sim/replay/tape-list", true);
- TapeList->removeChildren("tape", false);
+ TapeList->removeChildren("tape");
int Index = 0;
size_t l = aircraftType.size();
for (simgear::PathList::iterator it = list.begin(); it!=list.end(); ++it)