gcc friendly version.

test
cc9cii 10 years ago
parent dcce59f76c
commit 2e2d6e04fe

@ -31,12 +31,14 @@ void CSMWorld::RefCollection::load (ESM::ESMReader& reader, int cellIndex, bool
// original cell will always be equal the current cell). // original cell will always be equal the current cell).
ref.mOriginalCell = base ? cell2.mId : ""; ref.mOriginalCell = base ? cell2.mId : "";
#if 0
if (mref.mRefNum.mIndex != 0 && if (mref.mRefNum.mIndex != 0 &&
((int)std::floor(ref.mPos.pos[0]/8192) != mref.mTarget[0] || ((int)std::floor(ref.mPos.pos[0]/8192) != mref.mTarget[0] ||
(int)std::floor(ref.mPos.pos[1]/8192) != mref.mTarget[1])) (int)std::floor(ref.mPos.pos[1]/8192) != mref.mTarget[1]))
{ {
//std::cout <<"refcollection #" << mref.mTarget[0] << " " << mref.mTarget[1] << std::endl; std::cout <<"refcollection #" << mref.mTarget[0] << " " << mref.mTarget[1] << std::endl;
} }
#endif
if (cell.get().isExterior()) if (cell.get().isExterior())
{ {

Loading…
Cancel
Save