From 78e67de6f70aab502a85578264b60493a818b39f Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Tue, 31 Mar 2009 21:52:04 -0600 Subject: Make network handler functions virtual --- src/net/charhandler.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/net/charhandler.h') diff --git a/src/net/charhandler.h b/src/net/charhandler.h index f1535ac3..e7871aab 100644 --- a/src/net/charhandler.h +++ b/src/net/charhandler.h @@ -25,16 +25,16 @@ #include namespace Net { - class CharHandler - { - public: - void ChooseCharacter(int slot); +class CharHandler +{ + public: + virtual void ChooseCharacter(int slot) {} - void NewCharacter(const std::string &name, bool gender, - int hairstyle, int hairColor); + virtual void NewCharacter(const std::string &name, bool gender, + int hairstyle, int hairColor) {} - void DeleteCharacter(int slot); - }; + virtual void DeleteCharacter(int slot) {} +}; } #endif // CHARHANDLER_H -- cgit v1.2.3-70-g09d2