chore: cleanup usage of pointers in the activity component (#1989)

* chore: cleanup usage of pointers in the activity component

* feedback
This commit is contained in:
David Markowitz
2026-06-11 07:12:43 -07:00
committed by GitHub
parent e5b8e5c6b7
commit 1e9b18fa9d
4 changed files with 167 additions and 230 deletions

View File

@@ -114,7 +114,7 @@ uint32_t ActivityManager::CalculateActivityRating(Entity* self, const LWOOBJID p
if (sac == nullptr)
return 0;
return sac->GetInstance(playerID)->GetParticipants().size();
return sac->GetInstance(playerID).GetParticipants().size();
}
uint32_t ActivityManager::GetActivityID(const Entity* self) {