mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-29 16:11:37 -04:00
fix player update
This commit is contained in:
parent
d6150b7482
commit
37990b5133
@ -555,6 +555,7 @@ namespace MWWorld
|
|||||||
// a bit ugly
|
// a bit ugly
|
||||||
if (ptr == mPlayer->getPlayer()) {
|
if (ptr == mPlayer->getPlayer()) {
|
||||||
currCell = mWorldScene->getCurrentCell();
|
currCell = mWorldScene->getCurrentCell();
|
||||||
|
haveToMove = true;
|
||||||
} else {
|
} else {
|
||||||
currCell = ptr.getCell();
|
currCell = ptr.getCell();
|
||||||
}
|
}
|
||||||
@ -570,7 +571,6 @@ namespace MWWorld
|
|||||||
{
|
{
|
||||||
if (ptr == mPlayer->getPlayer()) {
|
if (ptr == mPlayer->getPlayer()) {
|
||||||
mWorldScene->changeCell(cellX, cellY, pos, false);
|
mWorldScene->changeCell(cellX, cellY, pos, false);
|
||||||
haveToMove = true;
|
|
||||||
} else {
|
} else {
|
||||||
CellStore *newCell =
|
CellStore *newCell =
|
||||||
MWBase::Environment::get().getWorld()->getExterior(cellX, cellY);
|
MWBase::Environment::get().getWorld()->getExterior(cellX, cellY);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user