summaryrefslogtreecommitdiff
path: root/src/net/ea
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/ea')
-rw-r--r--src/net/ea/chathandler.cpp1
-rw-r--r--src/net/ea/gamehandler.cpp1
-rw-r--r--src/net/ea/inventoryhandler.cpp5
-rw-r--r--src/net/ea/itemhandler.cpp4
-rw-r--r--src/net/ea/itemhandler.h2
-rw-r--r--src/net/ea/loginhandler.cpp5
-rw-r--r--src/net/ea/network.cpp2
-rw-r--r--src/net/ea/network.h2
-rw-r--r--src/net/ea/npchandler.cpp1
9 files changed, 20 insertions, 3 deletions
diff --git a/src/net/ea/chathandler.cpp b/src/net/ea/chathandler.cpp
index 872878511..a84ab21e0 100644
--- a/src/net/ea/chathandler.cpp
+++ b/src/net/ea/chathandler.cpp
@@ -43,6 +43,7 @@ namespace Ea
{
ChatHandler::ChatHandler() :
+ mSentWhispers(),
mShowAllLang(serverConfig.getValue("showAllLang", 0))
{
}
diff --git a/src/net/ea/gamehandler.cpp b/src/net/ea/gamehandler.cpp
index 0e159bd76..faee4b2d8 100644
--- a/src/net/ea/gamehandler.cpp
+++ b/src/net/ea/gamehandler.cpp
@@ -35,6 +35,7 @@ namespace Ea
{
GameHandler::GameHandler() :
+ mMap(),
mCharID(0)
{
}
diff --git a/src/net/ea/inventoryhandler.cpp b/src/net/ea/inventoryhandler.cpp
index 21087d355..086a05102 100644
--- a/src/net/ea/inventoryhandler.cpp
+++ b/src/net/ea/inventoryhandler.cpp
@@ -74,9 +74,12 @@ namespace Ea
{
InventoryHandler::InventoryHandler() :
+ mEquips(),
+ mInventoryItems(),
mStorage(nullptr),
mStorageWindow(nullptr),
- mDebugInventory(true)
+ mDebugInventory(true),
+ mSentPickups()
{
}
diff --git a/src/net/ea/itemhandler.cpp b/src/net/ea/itemhandler.cpp
index 6c7124e30..aafe6fc4b 100644
--- a/src/net/ea/itemhandler.cpp
+++ b/src/net/ea/itemhandler.cpp
@@ -33,6 +33,10 @@ ItemHandler::ItemHandler()
{
}
+ItemHandler::~ItemHandler()
+{
+}
+
void ItemHandler::processItemVisible(Net::MessageIn &msg)
{
const int id = msg.readInt32();
diff --git a/src/net/ea/itemhandler.h b/src/net/ea/itemhandler.h
index cd56f2d12..72f64bfb8 100644
--- a/src/net/ea/itemhandler.h
+++ b/src/net/ea/itemhandler.h
@@ -36,6 +36,8 @@ class ItemHandler
A_DELETE_COPY(ItemHandler)
+ virtual ~ItemHandler();
+
void processItemVisible(Net::MessageIn &msg);
void processItemRemove(Net::MessageIn &msg);
diff --git a/src/net/ea/loginhandler.cpp b/src/net/ea/loginhandler.cpp
index f94771eec..c50f76cdd 100644
--- a/src/net/ea/loginhandler.cpp
+++ b/src/net/ea/loginhandler.cpp
@@ -40,7 +40,10 @@ namespace Ea
LoginHandler::LoginHandler() :
Net::LoginHandler(),
mVersionResponse(false),
- mRegistrationEnabled(true)
+ mRegistrationEnabled(true),
+ mUpdateHost(),
+ mWorlds(),
+ mToken()
{
mToken.clear();
}
diff --git a/src/net/ea/network.cpp b/src/net/ea/network.cpp
index 679447a50..6c24954b7 100644
--- a/src/net/ea/network.cpp
+++ b/src/net/ea/network.cpp
@@ -56,12 +56,14 @@ int networkThread(void *data)
Network::Network() :
mSocket(nullptr),
+ mServer(),
mInBuffer(new char[BUFFER_SIZE]),
mOutBuffer(new char[BUFFER_SIZE]),
mInSize(0),
mOutSize(0),
mToSkip(0),
mState(IDLE),
+ mError(),
mWorkerThread(nullptr),
mMutex(SDL_CreateMutex()),
mSleep(config.getIntValue("networksleep"))
diff --git a/src/net/ea/network.h b/src/net/ea/network.h
index e0066afaf..2f8a1c0d1 100644
--- a/src/net/ea/network.h
+++ b/src/net/ea/network.h
@@ -45,7 +45,7 @@ class Network
A_DELETE_COPY(Network)
- ~Network();
+ virtual ~Network();
bool connect(ServerInfo server);
diff --git a/src/net/ea/npchandler.cpp b/src/net/ea/npchandler.cpp
index cacb65548..51e006779 100644
--- a/src/net/ea/npchandler.cpp
+++ b/src/net/ea/npchandler.cpp
@@ -30,6 +30,7 @@ namespace Ea
{
NpcHandler::NpcHandler() :
+ mNpcDialogs(),
mDialog(nullptr)
{
}