Page MenuHomeFeedback Tracker

[1.18.155069] (ActionDrainLiquid) There is no a sound playing when draining barrel
Confirmed Internally, NormalPublic

Description

How to fix:
Change
from

Bottle_Base vessel_in_hands = Bottle_Base.Cast( action_data.m_Target.GetObject() );

to

Bottle_Base vessel_in_hands = Bottle_Base.Cast( action_data.m_MainItem );

in OnStartAnimationLoop() and OnEndAnimationLoop() methods
4_world\classes\useractionscomponent\actions\continuous\actiondrainliquid.c

Because m_Target is not the item in the hands. It's the object the player is looking at

After fix:

Details

Severity
None
Resolution
Open
Reproducibility
N/A
Operating System
Windows 7
Category
General

Event Timeline

Geez changed the task status from New to Reviewed.Oct 16 2022, 9:18 PM
Geez changed the task status from Reviewed to Confirmed Internally.Oct 17 2022, 9:42 AM
rxyyy added a subscriber: rxyyy.Sep 13 2023, 5:43 PM

This also applies to ActionPourLiquid.