Mercurial > mm7
diff Outdoor.h @ 676:ecfb1b3c9a39
BLV: when standing right on the portal (orange wall) everything looks fine
author | Nomad |
---|---|
date | Fri, 15 Mar 2013 04:13:24 +0200 |
parents | ccf8b4815a1f |
children | 8b29c4121f6f |
line wrap: on
line diff
--- a/Outdoor.h Thu Mar 14 23:44:03 2013 +0200 +++ b/Outdoor.h Fri Mar 15 04:13:24 2013 +0200 @@ -80,7 +80,7 @@ inline bool Invisible() const {return uAttributes & FACE_INVISIBLE;} inline bool Visible() const {return !Invisible();} - inline bool TwoSided() const {return uAttributes & FACE_TWO_SIDED;} + inline bool TwoSided() const {return uAttributes & FACE_PORTAL;} struct Plane_int_ pFacePlane; int zCalc1; @@ -90,9 +90,9 @@ unsigned __int16 pVertexIDs[20]; unsigned __int16 pTextureUIDs[20]; unsigned __int16 pTextureVIDs[20]; - unsigned __int16 pXInterceptDisplacements[20]; - unsigned __int16 pYInterceptDisplacements[20]; - unsigned __int16 pZInterceptDisplacements[20]; + signed __int16 pXInterceptDisplacements[20]; + signed __int16 pYInterceptDisplacements[20]; + signed __int16 pZInterceptDisplacements[20]; unsigned __int16 uTextureID; __int16 sTextureDeltaU; __int16 sTextureDeltaV;