mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-11-21 01:22:25 +00:00
Replace all auto with auto*
For components
This commit is contained in:
@@ -90,7 +90,7 @@ void Player::SendToZone(LWOMAPID zoneId, LWOCLONEID cloneId) {
|
||||
const auto sysAddr = entity->GetSystemAddress();
|
||||
|
||||
auto* character = entity->GetCharacter();
|
||||
auto characterComponent = entity->GetComponent<CharacterComponent>();
|
||||
auto* characterComponent = entity->GetComponent<CharacterComponent>();
|
||||
|
||||
if (character != nullptr && characterComponent != nullptr) {
|
||||
character->SetZoneID(zoneID);
|
||||
|
||||
Reference in New Issue
Block a user