Skip to content

Conversation

@wgetJane
Copy link
Contributor

@wgetJane wgetJane commented Jan 5, 2026

Description

when you unrev the minigun by releasing your left mouse button, it takes ~1.15 secs to fully spin down

when you unrev the minigun by releasing your right mouse button, it takes ~1.44 secs to fully spin down

this is because when SendWeaponAnim( ACT_VM_SECONDARYATTACK ) is used to set the weapon's idle rev animation, it also inadvertently changes the weapon's "idle time" as a side effect which adds a delay:

SetWeaponIdleTime( gpGlobals->curtime + SequenceDuration() );

unfixed:

spindown_unfixed.mp4

fixed:

spindown_fixed.mp4

note: green crosshair = no mouse buttons pressed

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.

1 participant