Revert "Update position after changing cell"

This reverts commit 5e072b9d3c.
This commit is contained in:
Koncord 2016-07-30 04:12:47 +08:00
parent 5e072b9d3c
commit 31e2ab54d6
2 changed files with 4 additions and 1 deletions

View file

@ -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;

View file

@ -164,7 +164,6 @@ void LocalPlayer::setCell()
}
updateCell(true);
updatePosition(true);
}