mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-06-13 10:14:22 +00:00
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user