mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-12-24 06:23:35 +00:00
fix unused expression
This commit is contained in:
parent
6ddf5b3e92
commit
5ddf4ce28b
@ -826,8 +826,8 @@ void PetComponent::OnInteract() {
|
||||
}
|
||||
}
|
||||
|
||||
void PetComponent::StartInteract(const NiPoint3& position, const PetInteractType interactionType, const LWOOBJID& interactID) {
|
||||
m_Interaction.obj; // TODO: Check if this should be serialized for goToObj
|
||||
void PetComponent::StartInteract(const NiPoint3 position, const PetInteractType interactionType, const LWOOBJID interactID) {
|
||||
m_Interaction.obj = interactID; // TODO: Check if this should be serialized for goToObj
|
||||
m_Interaction.type = interactionType;
|
||||
m_Interaction.ability = ePetAbilityType::GoToObject;
|
||||
SetPetAiState(PetAiState::goToObj);
|
||||
|
@ -174,7 +174,7 @@ public:
|
||||
/**
|
||||
* Start a pet interaction with an object at a given position
|
||||
*/
|
||||
void StartInteract(const NiPoint3& position, const PetInteractType interactionType, const LWOOBJID& interactID);
|
||||
void StartInteract(const NiPoint3 position, const PetInteractType interactionType, const LWOOBJID interactID);
|
||||
|
||||
/**
|
||||
* Stop a pet interaction with an object
|
||||
|
Loading…
Reference in New Issue
Block a user