mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-10-04 19:56:30 +00:00
[Server] Read contents of ID_PLAYER_CELL_STATE
This commit is contained in:
parent
6331c55bc7
commit
4f288ab558
1 changed files with 2 additions and 0 deletions
|
@ -176,6 +176,8 @@ void Networking::processPlayerPacket(RakNet::Packet *packet)
|
||||||
LOG_MESSAGE_SIMPLE(Log::LOG_INFO, "Received ID_PLAYER_CELL_STATE from %s",
|
LOG_MESSAGE_SIMPLE(Log::LOG_INFO, "Received ID_PLAYER_CELL_STATE from %s",
|
||||||
player->npc.mName.c_str());
|
player->npc.mName.c_str());
|
||||||
|
|
||||||
|
myPacket->Read(player);
|
||||||
|
|
||||||
Script::Call<Script::CallbackIdentity("OnPlayerCellState")>(player->getId(), player->cellStateChanges.action);
|
Script::Call<Script::CallbackIdentity("OnPlayerCellState")>(player->getId(), player->cellStateChanges.action);
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue