Fixed +/- cmds not being set in the flag manager.
This commit is contained in:
parent
186519dc92
commit
3f1226e504
|
@ -161,7 +161,9 @@ done_with_flags:
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if (!isalnum(*Command))
|
//if (!isalnum(*Command))
|
||||||
|
if (*Command == '"' ||
|
||||||
|
*Command == '\0')
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
};
|
};
|
||||||
|
@ -209,6 +211,7 @@ void CFlagManager::LookupOrAdd(const char *Command, int &Flags, AMX *Plugin)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
int TempFlags=Flags;
|
int TempFlags=Flags;
|
||||||
if (TempFlags==-1)
|
if (TempFlags==-1)
|
||||||
{
|
{
|
||||||
|
@ -339,6 +342,7 @@ int CFlagManager::ShouldIAddThisCommand(const AMX *amx, const cell *params, cons
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// If 5th param exists it was compiled after this change was made
|
// If 5th param exists it was compiled after this change was made
|
||||||
// if it does not exist, try our logic at the end of this function
|
// if it does not exist, try our logic at the end of this function
|
||||||
// 5th param being > 0 means explicit yes
|
// 5th param being > 0 means explicit yes
|
||||||
|
|
Loading…
Reference in New Issue
Block a user