mirror of
git://git.savannah.nongnu.org/eliot.git
synced 2024-12-25 21:59:30 +01:00
Save game: write unknown commands as comments, to help debugging
This commit is contained in:
parent
47a827e9d4
commit
4acc731b17
1 changed files with 1 additions and 1 deletions
|
@ -279,10 +279,10 @@ void XmlWriter::write(const Game &iGame, const string &iFileName)
|
|||
else
|
||||
{
|
||||
LOG_ERROR("Unsupported command: " << lfw(cmd->toString()));
|
||||
out << indent << "<!-- FIXME: Unsupported command: " << lfw(cmd->toString()) << " -->" << endl;
|
||||
// XXX
|
||||
//throw SaveGameException("Unsupported command: " + lfw(cmd->toString()));
|
||||
}
|
||||
// TODO
|
||||
}
|
||||
removeIndent(indent);
|
||||
out << indent << "</Turn>" << endl;
|
||||
|
|
Loading…
Reference in a new issue