mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-10-10 01:18:07 +00:00
Move to shared pointer
This commit is contained in:
@@ -14,8 +14,8 @@ void SpawnGryphonServer::SetVariables(Entity* self) {
|
||||
}
|
||||
|
||||
void SpawnGryphonServer::OnUse(Entity* self, Entity* user) {
|
||||
auto* missionComponent = user->GetComponent<MissionComponent>();
|
||||
auto* inventoryComponent = user->GetComponent<InventoryComponent>();
|
||||
auto missionComponent = user->GetComponent<MissionComponent>();
|
||||
auto inventoryComponent = user->GetComponent<InventoryComponent>();
|
||||
|
||||
// Little extra for handling the case of the egg being placed the first time
|
||||
if (missionComponent != nullptr && inventoryComponent != nullptr
|
||||
|
Reference in New Issue
Block a user