mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-12-21 04:00:13 +00:00
Replace all auto with auto*
For components
This commit is contained in:
@@ -16,8 +16,8 @@ void Darkitect::Reveal(Entity* self, Entity* player) {
|
||||
|
||||
if (!player) return;
|
||||
|
||||
auto destroyableComponent = player->GetComponent<DestroyableComponent>();
|
||||
auto missionComponent = player->GetComponent<MissionComponent>();
|
||||
auto* destroyableComponent = player->GetComponent<DestroyableComponent>();
|
||||
auto* missionComponent = player->GetComponent<MissionComponent>();
|
||||
auto* character = player->GetCharacter();
|
||||
|
||||
if (destroyableComponent != nullptr && missionComponent != nullptr && character != nullptr) {
|
||||
|
||||
Reference in New Issue
Block a user