Guest User

Untitled

a guest
Oct 14th, 2011
123
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Index: code/server/sv_world.c
  2. ===================================================================
  3. --- code/server/sv_world.c  (revision 2185)
  4. +++ code/server/sv_world.c  (working copy)
  5. @@ -672,12 +672,12 @@
  6.         hit = SV_GentityNum( touch[i] );
  7.         // might intersect, so do an exact clip
  8.         clipHandle = SV_ClipHandleForEntity( hit );
  9. -       angles = hit->s.angles;
  10. +       angles = hit->r.currentAngles;
  11.         if ( !hit->r.bmodel ) {
  12.             angles = vec3_origin;   // boxes don't rotate
  13.         }
  14.  
  15. -       c2 = CM_TransformedPointContents (p, clipHandle, hit->s.origin, angles);
  16. +       c2 = CM_TransformedPointContents (p, clipHandle, hit->r.currentOrigin, angles);
  17.  
  18.         contents |= c2;
  19.     }
  20.  
  21.  
RAW Paste Data