Read/write heal locations using new JSON data

This commit is contained in:
GriffinR
2025-02-04 16:34:21 -05:00
parent fe38e42591
commit 6b9a4d73e9
29 changed files with 447 additions and 617 deletions

View File

@@ -230,7 +230,7 @@ void Map::addEvent(Event *event) {
if (!m_ownedEvents.contains(event)) m_ownedEvents.insert(event);
}
int Map::getIndexOfEvent(Event *event) const {
int Map::getIndexOfEvent(const Event *event) const {
return m_events.value(event->getEventGroup()).indexOf(event);
}