Bug report + fix, RocketLauncher Smoke

Leorid

New member
I have the ultimate character controller (3rd person only) and when the rocketlauncher is fired, the smoke at the back of the weapon stays and loops forever.
There is a script which should handle this, but the define says:
#if FIRST_PERSON_CONTROLLER && THIRD_PERSON_CONTROLLER

when it should be:
#if FIRST_PERSON_CONTROLLER || THIRD_PERSON_CONTROLLER

(I guess, maybe the check doesn't matter at all or should just be "if THIRD_PERSON_CONTROLLER")

Changing all three lines in the file "Assets/Opsive/UltimateCharacterController/Scripts/Objects/ItemAssist/Smoke.cs" like above results in vanishing smoke like expected.
 
Top