Quote:
Originally Posted by ddhoward
Haven't tested it, but it doesn't seem like g_DebugAdminFlag is ever set to what's specified in InitDebugLog() ?
Also it would be really awesome if it could also accept an override, falling back to the flag if not present. ![Smile](images/smilies/smile.gif)
|
Good catch. Fixed. Also added an override with the same name as the cvar.
Quote:
Originally Posted by Chdata
Code:
#if !defined NO_DEBUG
stock bool LogDebug(const char[] format, any ...)
#else
define LogDebug(%1)
#endif
Something that altogether makes the code not be included into the compilation when it compiles.
|
I don't think that would be possible with LogDebug's variable number of parameters.
__________________