summaryrefslogtreecommitdiff
path: root/src/net/charserverhandler.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2006-08-14 19:19:35 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2006-08-14 19:19:35 +0000
commitd33140baf3e05bd6c814eb57cffdb62505f7861e (patch)
tree2b35fca2f6d5c68741af7a366bfa8a0df648d279 /src/net/charserverhandler.h
parentc79bf8c82f0a38b574b83be2484eb347852cd833 (diff)
downloadmana-d33140baf3e05bd6c814eb57cffdb62505f7861e.tar.gz
mana-d33140baf3e05bd6c814eb57cffdb62505f7861e.tar.bz2
mana-d33140baf3e05bd6c814eb57cffdb62505f7861e.tar.xz
mana-d33140baf3e05bd6c814eb57cffdb62505f7861e.zip
Fix warning about jump to case label crossing an initialization.
Diffstat (limited to 'src/net/charserverhandler.h')
-rw-r--r--src/net/charserverhandler.h15
1 files changed, 12 insertions, 3 deletions
diff --git a/src/net/charserverhandler.h b/src/net/charserverhandler.h
index 16d2c361..ec5df3f8 100644
--- a/src/net/charserverhandler.h
+++ b/src/net/charserverhandler.h
@@ -36,13 +36,22 @@ class CharServerHandler : public MessageHandler
public:
CharServerHandler();
- void handleMessage(MessageIn *msg);
+ void
+ handleMessage(MessageIn *msg);
- void setCharInfo(LockedArray<LocalPlayer*> *charInfo) { mCharInfo = charInfo; };
+ void
+ setCharInfo(LockedArray<LocalPlayer*> *charInfo)
+ {
+ mCharInfo = charInfo;
+ }
- void setLoginData(LoginData *loginData) { mLoginData = loginData; };
+ void
+ setLoginData(LoginData *loginData) { mLoginData = loginData; };
protected:
+ void
+ handleCharCreateResponse(MessageIn &msg);
+
LoginData *mLoginData;
LockedArray<LocalPlayer*> *mCharInfo;