Update pinned commit for SourceMod, and adjust for API changes.
This commit is contained in:
@@ -47,7 +47,6 @@ public Plugin myinfo =
|
||||
|
||||
/** Various parsing globals */
|
||||
bool g_LoggedFileName = false; /* Whether or not the file name has been logged */
|
||||
int g_ErrorCount = 0; /* Current error count */
|
||||
int g_IgnoreLevel = 0; /* Nested ignored section count, so users can screw up files safely */
|
||||
int g_CurrentLine = 0; /* Current line we're on */
|
||||
char g_Filename[PLATFORM_MAX_PATH]; /* Used for error messages */
|
||||
@@ -84,12 +83,10 @@ void ParseError(const char[] format, any ...)
|
||||
|
||||
LogError(" (line %d) %s", g_CurrentLine, buffer);
|
||||
|
||||
g_ErrorCount++;
|
||||
}
|
||||
|
||||
void InitGlobalStates()
|
||||
{
|
||||
g_ErrorCount = 0;
|
||||
g_IgnoreLevel = 0;
|
||||
g_CurrentLine = 0;
|
||||
g_LoggedFileName = false;
|
||||
|
||||
Reference in New Issue
Block a user