(#5016) - Calls to trap_CM_PointContents don't update their origins based on moving entities (water). Patch by Ensiform
This commit is contained in:
1 parent
960dca2cd4
commit
eec06674fa
5 files changed
+12
-11
No files matched your search
@@ -186,7 +186,8 @@ int CG_PointContents( const vec3_t point, int passEntityNum ) {
|
||||
continue;
|
||||
}
|
||||
|
||||
contents |= trap_CM_TransformedPointContents( point, cmodel, ent->origin, ent->angles );
|
||||
// Ensiform : Trivial change to use the projected origin & angles of moving water based entities.
|
||||
contents |= trap_CM_TransformedPointContents( point, cmodel, cent->lerpOrigin, cent->lerpAngles );
|
||||
}
|
||||
|
||||
return contents;
|
||||
|
||||
Reference in new issue
Block a user