forked from teamnwah/openmw-tes3coop
gcc friendly version.
This commit is contained in:
parent
dcce59f76c
commit
2e2d6e04fe
1 changed files with 3 additions and 1 deletions
|
@ -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…
Reference in a new issue