| 749 | } |
| 750 | |
| 751 | void EditableMapObject::ApplyEditsFromJournal(EditJournal const & editJournal) |
| 752 | { |
| 753 | LOG(LDEBUG, ("Applying JournalHistory entries...")); |
| 754 | for (JournalEntry const & entry : editJournal.GetJournalHistory()) |
| 755 | ApplyJournalEntry(entry); |
| 756 | |
| 757 | LOG(LDEBUG, ("Applying Journal entries...")); |
| 758 | for (JournalEntry const & entry : editJournal.GetJournal()) |
| 759 | ApplyJournalEntry(entry); |
| 760 | } |
| 761 | |
| 762 | void EditableMapObject::ApplyJournalEntry(JournalEntry const & entry) |
| 763 | { |
no outgoing calls