diff --git a/apps/openmw-mp/Script/Functions/Translocations.cpp b/apps/openmw-mp/Script/Functions/Translocations.cpp index e8b329c5f..dfe1be340 100644 --- a/apps/openmw-mp/Script/Functions/Translocations.cpp +++ b/apps/openmw-mp/Script/Functions/Translocations.cpp @@ -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; diff --git a/apps/openmw/mwmp/LocalPlayer.cpp b/apps/openmw/mwmp/LocalPlayer.cpp index fa0184d89..6fc5fb0ed 100644 --- a/apps/openmw/mwmp/LocalPlayer.cpp +++ b/apps/openmw/mwmp/LocalPlayer.cpp @@ -164,7 +164,6 @@ void LocalPlayer::setCell() } updateCell(true); - updatePosition(true); }