diff --git a/apps/openmw-mp/Script/Functions/World.cpp b/apps/openmw-mp/Script/Functions/World.cpp index f9724b5ed..30888257d 100644 --- a/apps/openmw-mp/Script/Functions/World.cpp +++ b/apps/openmw-mp/Script/Functions/World.cpp @@ -24,7 +24,7 @@ void WorldFunctions::ReadLastEvent() noexcept readEvent = mwmp::Networking::getPtr()->getLastEvent(); } -void WorldFunctions::InitiateEvent(unsigned short pid) noexcept +void WorldFunctions::InitializeEvent(unsigned short pid) noexcept { Player *player; GET_PLAYER(pid, player, ); diff --git a/apps/openmw-mp/Script/Functions/World.hpp b/apps/openmw-mp/Script/Functions/World.hpp index 61e53da48..37e226944 100644 --- a/apps/openmw-mp/Script/Functions/World.hpp +++ b/apps/openmw-mp/Script/Functions/World.hpp @@ -3,7 +3,7 @@ #define WORLDAPI \ {"ReadLastEvent", WorldFunctions::ReadLastEvent},\ - {"InitiateEvent", WorldFunctions::InitiateEvent},\ + {"InitializeEvent", WorldFunctions::InitializeEvent},\ \ {"GetObjectChangesSize", WorldFunctions::GetObjectChangesSize},\ {"GetEventAction", WorldFunctions::GetEventAction},\ @@ -72,7 +72,7 @@ class WorldFunctions public: static void ReadLastEvent() noexcept; - static void InitiateEvent(unsigned short pid) noexcept; + static void InitializeEvent(unsigned short pid) noexcept; static unsigned int GetObjectChangesSize() noexcept; static unsigned char GetEventAction() noexcept; diff --git a/components/openmw-mp/Packets/Player/PacketPlayerFaction.cpp b/components/openmw-mp/Packets/Player/PacketPlayerFaction.cpp index 554b6dc0a..43245032b 100644 --- a/components/openmw-mp/Packets/Player/PacketPlayerFaction.cpp +++ b/components/openmw-mp/Packets/Player/PacketPlayerFaction.cpp @@ -35,7 +35,7 @@ void PacketPlayerFaction::Packet(RakNet::BitStream *bs, bool send) RW(faction.rank, send); if (player->factionChanges.action == FactionChanges::BOTH || player->factionChanges.action == FactionChanges::EXPULSION) - RW(faction.isExpelled, send); + RW(faction.isExpelled, send); if (!send) player->factionChanges.factions.push_back(faction);