Skip to content

tf: Fix halloween spell projectiles not adjusting to flipped viewmodels #1447

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

copperpixel
Copy link
Contributor

@copperpixel copperpixel commented Jul 25, 2025

Description

This PR fixes the spell projectile's right offset not being applied to the spell origin calculation (instead it was hard-coded to always be + 7.f), which caused the caster's flipped viewmodels setting (that should invert the firing offset) to be ignored.

Before:

tf_halloween_spell_flip_projectiles_before.webm

After:

tf_halloween_spell_flip_projectiles_after.webm

Closes ValveSoftware/Source-1-Games#4411

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[TF2] Magic spell projectiles are not affected by the cl_flipviewmodels 1 command despite the viewmodel being affected
1 participant