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:
parent
53081a6a6f
commit
1f6d05dfe5
2 changed files with 0 additions and 11 deletions
|
@ -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…
Reference in a new issue