Skip to content

Commit

Permalink
fix(force-feedback): 🐛 build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
JaydenMaalouf committed Jul 28, 2024
1 parent 70c253b commit 215dfc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/JoystickPlugin/Private/JoystickInputDevice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ void FJoystickInputDevice::SetChannelValue(int ControllerId, FForceFeedbackChann
void FJoystickInputDevice::SetChannelValues(int ControllerId, const FForceFeedbackValues& Values)
{
#if ENGINE_MAJOR_VERSION == 5
const UJoystickHapticDeviceManager* HapticDeviceManager = UJoystickHapticDeviceManager::GetJoystickHapticDeviceManager();
UJoystickHapticDeviceManager* HapticDeviceManager = UJoystickHapticDeviceManager::GetJoystickHapticDeviceManager();
if (!IsValid(HapticDeviceManager))
{
return;
Expand Down

0 comments on commit 215dfc2

Please sign in to comment.