Fix singleplayer networking
This commit is contained in:
parent
a120591be3
commit
9a615af8c4
@ -89,6 +89,10 @@ public:
|
|||||||
|
|
||||||
// CEG uninitialization
|
// CEG uninitialization
|
||||||
utils::hook::set<BYTE>(0x527110, 0xC3);
|
utils::hook::set<BYTE>(0x527110, 0xC3);
|
||||||
|
|
||||||
|
// SP doesn't initialize WSA
|
||||||
|
WSADATA wsa_data;
|
||||||
|
WSAStartup(MAKEWORD(2, 2), &wsa_data);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user