Created attachment 2751[details]
Diff file for CG_PointContents replacement and fixed trap_CM_TransformedPointContents usage
If a map has moving water entity as a door, train or whatever to "drain" or "fill" and missile trails are passing through, the trail does not properly switch to bubbles or stop causing smoke. Shotguns still seem to smoke while under these types of water brushes as well.
Solution: Fix CG_PointContents to use cent->lerpOrigin and cent->lerpAngles in the trap_CM_TransformedPointContents and replace all other trap_CM_PointContents with CG_PointContents (save the one inside of CG_PointContents itself).
Diff included for r2000.
Obviously really only applies to open source mods that want to make use of this change since it is for the cgame.
Created attachment 2751 [details] Diff file for CG_PointContents replacement and fixed trap_CM_TransformedPointContents usage If a map has moving water entity as a door, train or whatever to "drain" or "fill" and missile trails are passing through, the trail does not properly switch to bubbles or stop causing smoke. Shotguns still seem to smoke while under these types of water brushes as well. Solution: Fix CG_PointContents to use cent->lerpOrigin and cent->lerpAngles in the trap_CM_TransformedPointContents and replace all other trap_CM_PointContents with CG_PointContents (save the one inside of CG_PointContents itself). Diff included for r2000. Obviously really only applies to open source mods that want to make use of this change since it is for the cgame.