mirror of
				https://github.com/DarkflameUniverse/DarkflameServer.git
				synced 2025-11-03 22:21:59 +00:00 
			
		
		
		
	fix unused expression
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user