Fixed GCC compatibility for now.

Removed ps_locked and replaced with ps_error.
Added set_fail_state.
Fixed md5_file.
This commit is contained in:
David Anderson
2005-12-01 13:42:28 +00:00
parent 80fdb2cdb2
commit f336585d4f
6 changed files with 44 additions and 14 deletions

View File

@ -58,12 +58,17 @@ void amx_command()
a = g_plugins.begin();
int num = 0;
while (a)
{
num++;
if ((*a).getStatusCode() == ps_bad_load)
{
//error
print_srvconsole("Load fails: %s\n", (*a).getError());
print_srvconsole("(%3d) Load fails: %s\n", num, (*a).getError());
} else if ( (*a).getStatusCode() == ps_error) {
//error
print_srvconsole("(%3d) Error: %s\n", num, (*a).getError());
}
++a;
}