fix unused expression

This commit is contained in:
jadebenn 2024-04-20 11:23:35 -05:00 committed by GitHub
parent 6ddf5b3e92
commit 5ddf4ce28b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -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);

View File

@ -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