YaLTeR / SourcePauseTool

This was once just a plugin to prevent game unpausing.
Other
87 stars 23 forks source link

Add spt_noclip_noslowfly #314

Closed evanlin96069 closed 1 year ago

evanlin96069 commented 1 year ago

spt_noclip_noslowfly - Fix noclip slowfly.

Sets the m_surfaceFriction to 1.0 every tick when noclip is enabled.

I think this fix is too small to be a new feature itself. So I added it in noclip_nofix.cpp and rename the file to noclip_fixes.cpp. Although portal_nogroundsnap.cpp is also a noclip fix, it's kind of annoying to add all those #ifndef OE and DoesGameLookLikePortal(). So I didn't combine it into noclip_fixes.cpp.

lipsanen commented 1 year ago

tyvm