mirror of
git://git.savannah.nongnu.org/eliot.git
synced 2024-12-28 09:58:15 +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
|
else
|
||||||
{
|
{
|
||||||
LOG_ERROR("Unsupported command: " << lfw(cmd->toString()));
|
LOG_ERROR("Unsupported command: " << lfw(cmd->toString()));
|
||||||
|
out << indent << "<!-- FIXME: Unsupported command: " << lfw(cmd->toString()) << " -->" << endl;
|
||||||
// XXX
|
// XXX
|
||||||
//throw SaveGameException("Unsupported command: " + lfw(cmd->toString()));
|
//throw SaveGameException("Unsupported command: " + lfw(cmd->toString()));
|
||||||
}
|
}
|
||||||
// TODO
|
|
||||||
}
|
}
|
||||||
removeIndent(indent);
|
removeIndent(indent);
|
||||||
out << indent << "</Turn>" << endl;
|
out << indent << "</Turn>" << endl;
|
||||||
|
|
Loading…
Reference in a new issue