forked from mirror/openmw-tes3mp
Revert "Update position after changing cell"
This reverts commit 5e072b9d3c
.
This commit is contained in:
parent
5e072b9d3c
commit
31e2ab54d6
2 changed files with 4 additions and 1 deletions
|
@ -104,6 +104,10 @@ void ScriptFunctions::SetExterior(unsigned short pid, int x, int y) noexcept
|
|||
cout << "exterior: " << player->GetCell()->mCellId.mIndex.mX << ", " << player->GetCell()->mCellId.mIndex.mY;
|
||||
cout << " in to exterior cell \"" << x << ", " << y << "\"" << endl;
|
||||
|
||||
/*cout << "TEST1 : " << player->GetCell()->mData.mFlags << endl;
|
||||
player->GetCell()->mData.mFlags &= ~1;
|
||||
cout << "TEST2 : " << player->GetCell()->mData.mFlags << endl;*/
|
||||
|
||||
player->GetCell()->mCellId.mIndex.mX = x;
|
||||
player->GetCell()->mCellId.mIndex.mY = y;
|
||||
|
||||
|
|
|
@ -164,7 +164,6 @@ void LocalPlayer::setCell()
|
|||
}
|
||||
|
||||
updateCell(true);
|
||||
updatePosition(true);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue