























































































































































































ğ may be made up of 2 bytes



















Console()->Register("team0mode", "?i['0'|'1']", CFGFLAG_CHAT | CFGFLAG_SERVER, ConTeam0Mode, this, "Toggle team between team 0 and team mode. This mode will make your team behave like team 0.");





// Important to only set a new team here, don't remove from an existing
// team since a newly joined player does by definition not have an old team
// to remove from. Doing so would destroy the count in m_MembersCount.







⸻
if causes the assert to stop falsely flagging? (edited)

if causes the assert to stop falsely flagging? (edited)

dbg_assert(false, "message") in cases that always fail






TYPE_SAVE though
bool CreateFolder(const char *pFoldername, int Type) override
{
if(Type >= TYPE_SAVE && Type < m_NumPaths) // How does this do anything
dbg_assert(Type >= TYPE_SAVE && Type < m_NumPaths, "Type invalid");
char aBuffer[IO_MAX_PATH_LENGTH];
GetPath(Type, pFoldername, aBuffer, sizeof(aBuffer));
bool Success = !fs_makedir(aBuffer);
if(!Success)
dbg_msg("storage", "failed to create folder: %s", aBuffer);
return Success;
}
const char *GetPath(int Type, const char *pDir, char *pBuffer, unsigned BufferSize)
{
if(Type == TYPE_ABSOLUTE)
{
str_copy(pBuffer, pDir, BufferSize);
}
else
{
str_format(pBuffer, BufferSize, "%s%s%s", m_aaStoragePaths[Type], !m_aaStoragePaths[Type][0] ? "" : "/", pDir);
}
return pBuffer;
}


TYPE_ABSOLUTE maybe, since creating folders in absolute locations might be wantedGetPath function

TYPE_ALL is would result in an out-of-bounds access
































just pr it














cl_limit_max_zoom_level hehe





































- damn spammer (edited)

1



- i brainstormed about both zombies and battlefield, and atleast for battlefield i think i would need to change quite a bit



































cmake not installed?" (it is but i think its on a different drive so)


















audiopus_sys v0.2.2 wont workkkkk


--no-default-features











1
















































