summaryrefslogtreecommitdiffstats
path: root/src/vischeck.cpp
diff options
context:
space:
mode:
authorsalmonik <salmonik@tuta.io>2026-11-04 11:46:40 +0100
committersalmonik <salmonik@tuta.io>2026-11-04 11:46:40 +0100
commit0adb4eba090dfa5684b661a01ea9d67244fede75 (patch)
tree67e6ace7a981ad3a182a720bf0bc1fb231f39ac9 /src/vischeck.cpp
parentProps: install the studio hooks again (diff)
downloadhl2h-0adb4eba090dfa5684b661a01ea9d67244fede75.tar.gz
hl2h-0adb4eba090dfa5684b661a01ea9d67244fede75.zip
Props: force colour inside prop DrawModel; no prop material tint
The engine calls SetColorModulation(1,1,1) immediately before DrawModel, so the in-draw flag never sees it. Set the prop colour at the start of the prop DrawModel hook instead (colour only, not alpha), and stop applying ColorModulate to prop materials so only one mechanism touches props.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions