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

0.6.1
David Cernat 8 years ago
parent 53081a6a6f
commit 1f6d05dfe5

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

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

Loading…
Cancel
Save