1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-16 21:49:55 +00:00

[Server] Read contents of ID_PLAYER_CELL_STATE

This commit is contained in:
David Cernat 2017-01-26 17:53:36 +02:00
parent 6331c55bc7
commit 4f288ab558

View file

@ -176,6 +176,8 @@ void Networking::processPlayerPacket(RakNet::Packet *packet)
LOG_MESSAGE_SIMPLE(Log::LOG_INFO, "Received ID_PLAYER_CELL_STATE from %s",
player->npc.mName.c_str());
myPacket->Read(player);
Script::Call<Script::CallbackIdentity("OnPlayerCellState")>(player->getId(), player->cellStateChanges.action);
break;