Mercurial > mm7
changeset 2027:3fa489e0a3f2
pFloor->Ethereal()
author | Ritor1 |
---|---|
date | Sun, 17 Nov 2013 23:46:35 +0600 |
parents | 23ef3589440f |
children | 81a0e6819d3f e21db9518295 |
files | Indoor.cpp Indoor.h |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/Indoor.cpp Sun Nov 17 23:26:44 2013 +0600 +++ b/Indoor.cpp Sun Nov 17 23:46:35 2013 +0600 @@ -4000,7 +4000,7 @@ for (uint i = 0; i < pSector->uNumFloors; ++i) { BLVFace* pFloor = &pIndoor->pFaces[pSector->pFloors[i]]; - if (pFloor->Clickable()) + if (pFloor->Ethereal()) continue; assert(pFloor->uNumVertices);
--- a/Indoor.h Sun Nov 17 23:26:44 2013 +0600 +++ b/Indoor.h Sun Nov 17 23:46:35 2013 +0600 @@ -266,7 +266,7 @@ inline bool Portal() const {return (uAttributes & FACE_PORTAL) != 0;} inline bool Fluid() const {return (uAttributes & FACE_FLUID) != 0;} inline bool Clickable() const {return (uAttributes & FACE_CLICKABLE) != 0;} - + inline bool Ethereal() const {return (uAttributes & FACE_ETHEREAL) != 0;} struct Plane_float_ pFacePlane; struct Plane_int_ pFacePlane_old;