small stuff
This commit is contained in:
parent
47fffa1178
commit
fb66d6f779
@ -223,7 +223,7 @@ namespace fastfiles
|
||||
|
||||
game::XZoneInfo info{};
|
||||
info.name = name;
|
||||
info.allocFlags = game::DB_ZONE_GAME;
|
||||
info.allocFlags = game::DB_ZONE_COMMON;
|
||||
info.allocFlags |= game::DB_ZONE_CUSTOM; // skip extra zones with this flag
|
||||
|
||||
game::DB_LoadXAssets(&info, 1, game::DBSyncMode::DB_LOAD_ASYNC);
|
||||
|
@ -320,6 +320,8 @@ namespace patches
|
||||
|
||||
// disable host migration
|
||||
utils::hook::set<uint8_t>(0xC5A200_b, 0xC3);
|
||||
|
||||
utils::hook::set(0x6D5280_b, 0xC301B0); // NetConstStrings_IsPrecacheAllowed
|
||||
}
|
||||
};
|
||||
}
|
||||
|
@ -397,6 +397,12 @@ namespace profile_infos
|
||||
const auto user_id = buffer.read<uint64_t>();
|
||||
|
||||
const profile_info info(buffer);
|
||||
if (info.m_memberplayer_card.empty())
|
||||
{
|
||||
// player has no card set
|
||||
return;
|
||||
}
|
||||
|
||||
add_profile_info(client_addr, user_id, info);
|
||||
set_playercardcache_to_download(user_id);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user