mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-29 21:45:32 +00:00
Update position after changing cell
This commit is contained in:
parent
7107136808
commit
5e072b9d3c
2 changed files with 1 additions and 4 deletions
|
@ -104,10 +104,6 @@ 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,6 +164,7 @@ void LocalPlayer::setCell()
|
|||
}
|
||||
|
||||
updateCell(true);
|
||||
updatePosition(true);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue