[Server] Move baseEvent from Networking.cpp to class as member

coverity_scan^2
Koncord 8 years ago
parent 7065569f9b
commit 868c837aa0

@ -22,7 +22,6 @@ using namespace mwmp;
using namespace std;
Networking *Networking::sThis = 0;
BaseEvent baseEvent = BaseEvent();
Networking::Networking(RakNet::RakPeerInterface *peer)
{

@ -49,6 +49,7 @@ namespace mwmp
private:
std::string serverPassword;
static Networking *sThis;
BaseEvent baseEvent;
RakNet::RakPeerInterface *peer;
RakNet::BitStream bsOut;
TPlayers *players;

Loading…
Cancel
Save