From 433190d82e572d7ddf94eeecef412d4480df7a8b Mon Sep 17 00:00:00 2001 From: David Cernat Date: Wed, 28 Sep 2016 15:20:23 +0300 Subject: [PATCH] Rename OnPlayerUpdateEquiped into OnPlayerChangeEquipment --- apps/openmw-mp/Networking.cpp | 2 +- apps/openmw-mp/Script/ScriptFunctions.hpp | 2 +- components/openmw-mp/Packets/PacketDynamicStats.cpp | 2 +- components/openmw-mp/Packets/PacketDynamicStats.hpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/openmw-mp/Networking.cpp b/apps/openmw-mp/Networking.cpp index 7a2533c54..fe0c5e812 100644 --- a/apps/openmw-mp/Networking.cpp +++ b/apps/openmw-mp/Networking.cpp @@ -233,7 +233,7 @@ void Networking::Update(RakNet::Packet *packet) myPacket->Read(player); myPacket->Send(player, true); - Script::Call(player->GetID()); + Script::Call(player->GetID()); break; } diff --git a/apps/openmw-mp/Script/ScriptFunctions.hpp b/apps/openmw-mp/Script/ScriptFunctions.hpp index 796139c99..8b8db7df8 100644 --- a/apps/openmw-mp/Script/ScriptFunctions.hpp +++ b/apps/openmw-mp/Script/ScriptFunctions.hpp @@ -104,7 +104,7 @@ public: {"OnPlayerChangeAttributes", Function()}, {"OnPlayerChangeSkills", Function()}, {"OnPlayerChangeLevel", Function()}, - {"OnPlayerUpdateEquiped", Function()}, + {"OnPlayerChangeEquipment", Function()}, {"OnPlayerSendMessage", Function()}, {"OnPlayerEndCharGen", Function()}, {"OnGUIAction", Function()} diff --git a/components/openmw-mp/Packets/PacketDynamicStats.cpp b/components/openmw-mp/Packets/PacketDynamicStats.cpp index a9efdb3ee..1811ead9d 100644 --- a/components/openmw-mp/Packets/PacketDynamicStats.cpp +++ b/components/openmw-mp/Packets/PacketDynamicStats.cpp @@ -1,5 +1,5 @@ // -// Created by David Cernat on 28.09.16. +// Created by koncord on 13.01.16. // #include "PacketDynamicStats.hpp" diff --git a/components/openmw-mp/Packets/PacketDynamicStats.hpp b/components/openmw-mp/Packets/PacketDynamicStats.hpp index 67e634043..e6be46c34 100644 --- a/components/openmw-mp/Packets/PacketDynamicStats.hpp +++ b/components/openmw-mp/Packets/PacketDynamicStats.hpp @@ -1,5 +1,5 @@ // -// Created by David Cernat on 28.09.16. +// Created by koncord on 13.01.16. // #ifndef OPENMW_PACKAGEDYNAMICSTATS_HPP