objects.cache: Add support for the "notes" attribute.

This commit is contained in:
Gunnar Beutner 2013-07-01 13:51:00 +02:00
parent 23c87f6eaf
commit 4766e801a2
1 changed files with 2 additions and 2 deletions

View File

@ -518,8 +518,8 @@ void CompatComponent::DumpCustomAttributes(std::ostream& fp, const DynamicObject
BOOST_FOREACH(boost::tie(key, value), custom) {
fp << "\t";
if (key != "action_url" && key != "notes_url" && key != "icon_image" &&
key != "icon_image_alt" && key != "statusmap_image" && "2d_coords")
if (key != "notes" && key != "action_url" && key != "notes_url" &&
key != "icon_image" && key != "icon_image_alt" && key != "statusmap_image" && "2d_coords")
fp << "_";
fp << key << "\t" << Convert::ToString(value) << "\n";