Fix join error.

This commit is contained in:
momo5502 2016-01-02 18:36:01 +01:00
parent 31104a7537
commit 54db04e1f2
3 changed files with 7 additions and 0 deletions

View File

@ -81,6 +81,9 @@ namespace Components
void Party::PlaylistContinue() void Party::PlaylistContinue()
{ {
// Ensure we can join
*Game::g_lobbyCreateInProgress = false;
Party::Container.AwaitingPlaylist = false; Party::Container.AwaitingPlaylist = false;
SteamID id = Party::GenerateLobbyId(); SteamID id = Party::GenerateLobbyId();

View File

@ -119,6 +119,8 @@ namespace Game
XBlock** g_streamBlocks = (XBlock**)0x16E554C; XBlock** g_streamBlocks = (XBlock**)0x16E554C;
bool* g_lobbyCreateInProgress = (bool*)0x66C9BC2;
void* ReallocateAssetPool(XAssetType type, unsigned int newSize) void* ReallocateAssetPool(XAssetType type, unsigned int newSize)
{ {
int elSize = DB_GetXAssetSizeHandlers[type](); int elSize = DB_GetXAssetSizeHandlers[type]();

View File

@ -231,6 +231,8 @@ namespace Game
extern XBlock** g_streamBlocks; extern XBlock** g_streamBlocks;
extern bool* g_lobbyCreateInProgress;
void* ReallocateAssetPool(XAssetType type, unsigned int newSize); void* ReallocateAssetPool(XAssetType type, unsigned int newSize);
void Menu_FreeItemMemory(Game::itemDef_t* item); void Menu_FreeItemMemory(Game::itemDef_t* item);
void OOBPrintT(int type, netadr_t netadr, const char* message); void OOBPrintT(int type, netadr_t netadr, const char* message);