mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-12-27 15:10:16 +00:00
Replace all auto with auto*
For components
This commit is contained in:
@@ -79,7 +79,7 @@ void MissionOfferComponent::OnUse(Entity* originator) {
|
||||
|
||||
void MissionOfferComponent::OfferMissions(Entity* entity, const uint32_t specifiedMissionId) {
|
||||
// First, get the entity's MissionComponent. If there is not one, then we cannot offer missions to this entity.
|
||||
auto missionComponent = entity->GetComponent<MissionComponent>();
|
||||
auto* missionComponent = entity->GetComponent<MissionComponent>();
|
||||
|
||||
if (!missionComponent) {
|
||||
Game::logger->Log("MissionOfferComponent", "Unable to get mission component for Entity %llu", entity->GetObjectID());
|
||||
|
||||
Reference in New Issue
Block a user