mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 18:19:55 +00:00
[Server] Fix integer types for new script callbacks
This commit is contained in:
parent
f9feaf05f0
commit
25e535e8ad
1 changed files with 2 additions and 2 deletions
|
@ -421,7 +421,7 @@ void Networking::processWorldPacket(RakNet::Packet *packet)
|
|||
Script::Call<Script::CallbackIdentity("OnObjectPlace")>(
|
||||
player->getId(),
|
||||
event->cellRef.mRefID.c_str(),
|
||||
event->cellRef.mRefNum.mIndex,
|
||||
(int) event->cellRef.mRefNum.mIndex,
|
||||
event->cell.getDescription().c_str());
|
||||
|
||||
break;
|
||||
|
@ -444,7 +444,7 @@ void Networking::processWorldPacket(RakNet::Packet *packet)
|
|||
Script::Call<Script::CallbackIdentity("OnObjectDelete")>(
|
||||
player->getId(),
|
||||
event->cellRef.mRefID.c_str(),
|
||||
event->cellRef.mRefNum.mIndex,
|
||||
(int) event->cellRef.mRefNum.mIndex,
|
||||
event->cell.getDescription().c_str());
|
||||
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue