When looking at the particles I noticed that the snow used Cvar_VariableValue instead of the actual variables which caused a small performance drop in the Tibet levels of the mission pack.
I also applied the this unrelated tweak to PF_findradius which avoids calculating the square root: https://github.com/sezero/quakespasm/commit/a1f522701a7969d2f9df77bd94a14527398bfd53. I left the original code there commented out just in case it causes any side effects, but so far I haven't noticed any.
When looking at the particles I noticed that the snow used Cvar_VariableValue instead of the actual variables which caused a small performance drop in the Tibet levels of the mission pack. I also applied the this unrelated tweak to PF_findradius which avoids calculating the square root: https://github.com/sezero/quakespasm/commit/a1f522701a7969d2f9df77bd94a14527398bfd53. I left the original code there commented out just in case it causes any side effects, but so far I haven't noticed any.