diff options
author | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2009-11-02 21:45:44 +0100 |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2009-11-02 21:45:44 +0100 |
commit | a650c230152fb025b29a56ddb31eab40edd291d1 (patch) | |
tree | 739fec507c5cb79feaa502d551a76e1a038f1550 /src/net | |
parent | acc7d95ed30a4b1896ac888c1b1fd83c49785552 (diff) | |
download | mana-client-a650c230152fb025b29a56ddb31eab40edd291d1.tar.gz mana-client-a650c230152fb025b29a56ddb31eab40edd291d1.tar.bz2 mana-client-a650c230152fb025b29a56ddb31eab40edd291d1.tar.xz mana-client-a650c230152fb025b29a56ddb31eab40edd291d1.zip |
Got rid of GameHandler::clear
It was just forwarding to disconnect().
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/ea/gamehandler.cpp | 5 | ||||
-rw-r--r-- | src/net/gamehandler.h | 2 | ||||
-rw-r--r-- | src/net/manaserv/gamehandler.cpp | 5 |
3 files changed, 0 insertions, 12 deletions
diff --git a/src/net/ea/gamehandler.cpp b/src/net/ea/gamehandler.cpp index f101e03a..597fd1da 100644 --- a/src/net/ea/gamehandler.cpp +++ b/src/net/ea/gamehandler.cpp @@ -162,9 +162,4 @@ void GameHandler::ping(int tick) msg.writeInt32(tick); } -void GameHandler::clear() -{ - disconnect(); -} - } // namespace EAthena diff --git a/src/net/gamehandler.h b/src/net/gamehandler.h index 062b6770..34a36e61 100644 --- a/src/net/gamehandler.h +++ b/src/net/gamehandler.h @@ -46,8 +46,6 @@ class GameHandler virtual void quit() = 0; virtual void ping(int tick) = 0; - - virtual void clear() = 0; }; } // namespace Net diff --git a/src/net/manaserv/gamehandler.cpp b/src/net/manaserv/gamehandler.cpp index 2a4e08b6..c7f8eeee 100644 --- a/src/net/manaserv/gamehandler.cpp +++ b/src/net/manaserv/gamehandler.cpp @@ -124,9 +124,4 @@ void GameHandler::ping(int tick) // TODO } -void GameHandler::clear() -{ - disconnect(); -} - } // namespace ManaServ |