mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-30 22:15:32 +00:00
Respawn players in Fort Pelagiad instead of ToddTest for the time being
This commit is contained in:
parent
d830937f4e
commit
63eebd3d18
1 changed files with 2 additions and 2 deletions
|
@ -410,8 +410,8 @@ void Networking::ReceiveMessage(RakNet::Packet *packet)
|
||||||
MWWorld::Ptr player = MWBase::Environment::get().getWorld()->getPlayerPtr();
|
MWWorld::Ptr player = MWBase::Environment::get().getWorld()->getPlayerPtr();
|
||||||
player.getClass().getCreatureStats(player).resurrect();
|
player.getClass().getCreatureStats(player).resurrect();
|
||||||
ESM::Position pos;
|
ESM::Position pos;
|
||||||
MWBase::Environment::get().getWorld()->findInteriorPosition("ToddTest", pos);
|
MWBase::Environment::get().getWorld()->findInteriorPosition("Pelagiad, Fort Pelagiad", pos);
|
||||||
MWBase::Environment::get().getWorld()->changeToInteriorCell("ToddTest", pos, true);
|
MWBase::Environment::get().getWorld()->changeToInteriorCell("Pelagiad, Fort Pelagiad", pos, true);
|
||||||
(*getLocalPlayer()->Position()) = pos;
|
(*getLocalPlayer()->Position()) = pos;
|
||||||
(*getLocalPlayer()->GetCell()) = *player.getCell()->getCell();
|
(*getLocalPlayer()->GetCell()) = *player.getCell()->getCell();
|
||||||
myPacket->Send(getLocalPlayer(), serverAddr);
|
myPacket->Send(getLocalPlayer(), serverAddr);
|
||||||
|
|
Loading…
Reference in a new issue