Fixed bug at16581, devicenull

This commit is contained in:
David Anderson 2005-07-29 19:25:24 +00:00
parent b9ee99a3dc
commit 6cf6edb5b6

View File

@ -2800,12 +2800,17 @@ static cell AMX_NATIVE_CALL register_dictionary(AMX *amx, cell *params)
}
static cell AMX_NATIVE_CALL plugin_flags(AMX *amx, cell *params)
{
if (params[1])
{
AMX_HEADER *hdr;
hdr = (AMX_HEADER *)amx->base;
return hdr->flags;
}
return amx->flags;
}
// lang_exists(const name[]);
static cell AMX_NATIVE_CALL lang_exists(AMX *amx, cell *params)
{