Skip to content

Fix snipers not going invisible when spectate target zooms in.#1720

Merged
Agiel merged 1 commit intoNeotokyoRebuild:masterfrom
Agiel:disappearing_sniper_when_spec
Feb 24, 2026
Merged

Fix snipers not going invisible when spectate target zooms in.#1720
Agiel merged 1 commit intoNeotokyoRebuild:masterfrom
Agiel:disappearing_sniper_when_spec

Conversation

@Agiel
Copy link
Contributor

@Agiel Agiel commented Feb 22, 2026

Description

#1696 didn't handle first person spec properly. I tried fixing the code in ItemPostFrame but it didn't seem to work. After studying the TF2 code I found the ShouldDrawViewModel method in ClientModeShared which seems like a more suitable place to put it in.

Toolchain

  • Linux GCC Distro Native - CachyOS - gcc version 15.2.1 20260209

Linked Issues

@Agiel Agiel requested a review from a team February 23, 2026 08:00
@Rainyan Rainyan requested a review from a team February 24, 2026 06:26
@Rainyan Rainyan added the Tournament Priority Issues to be prioritized for the upcoming NT;RE tournament label Feb 24, 2026
@Agiel Agiel merged commit 7fac4bb into NeotokyoRebuild:master Feb 24, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Tournament Priority Issues to be prioritized for the upcoming NT;RE tournament

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Observing a sniper scope is broken

3 participants