diff --git a/apps/openmw-mp/Networking.cpp b/apps/openmw-mp/Networking.cpp index 668c7d09d..d2bf50bbd 100644 --- a/apps/openmw-mp/Networking.cpp +++ b/apps/openmw-mp/Networking.cpp @@ -421,7 +421,7 @@ void Networking::processWorldPacket(RakNet::Packet *packet) Script::Call( 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( player->getId(), event->cellRef.mRefID.c_str(), - event->cellRef.mRefNum.mIndex, + (int) event->cellRef.mRefNum.mIndex, event->cell.getDescription().c_str()); break;