1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-19 22:23:51 +00:00

[Client] Remove unused Networking::attack() method

This commit is contained in:
David Cernat 2017-04-18 17:45:26 +03:00
parent 53081a6a6f
commit 1f6d05dfe5
2 changed files with 0 additions and 11 deletions

View file

@ -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;

View file

@ -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()
{