diff --git a/apps/openmw/mwmp/Networking.cpp b/apps/openmw/mwmp/Networking.cpp index 883d39ead..db0c32bbf 100644 --- a/apps/openmw/mwmp/Networking.cpp +++ b/apps/openmw/mwmp/Networking.cpp @@ -308,16 +308,6 @@ bool Networking::isDedicatedPlayer(const MWWorld::Ptr &ptr) return pl != 0; } -bool Networking::attack(const MWWorld::Ptr &ptr) -{ - DedicatedPlayer *pl = PlayerList::getPlayer(ptr); - - if (pl == 0) - return false; - - return pl->attack.pressed; -} - bool Networking::isConnected() { return connected; diff --git a/apps/openmw/mwmp/Networking.hpp b/apps/openmw/mwmp/Networking.hpp index 49f256669..61f0a4445 100644 --- a/apps/openmw/mwmp/Networking.hpp +++ b/apps/openmw/mwmp/Networking.hpp @@ -36,7 +36,6 @@ namespace mwmp WorldPacket *getWorldPacket(RakNet::MessageID id); bool isDedicatedPlayer(const MWWorld::Ptr &ptr); - bool attack(const MWWorld::Ptr &ptr); RakNet::SystemAddress serverAddress() {