mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2025-01-12 14:58:06 +03:00
Fixed bug at16581, devicenull
This commit is contained in:
parent
b9ee99a3dc
commit
6cf6edb5b6
@ -2801,9 +2801,14 @@ static cell AMX_NATIVE_CALL register_dictionary(AMX *amx, cell *params)
|
|||||||
|
|
||||||
static cell AMX_NATIVE_CALL plugin_flags(AMX *amx, cell *params)
|
static cell AMX_NATIVE_CALL plugin_flags(AMX *amx, cell *params)
|
||||||
{
|
{
|
||||||
|
if (params[1])
|
||||||
|
{
|
||||||
AMX_HEADER *hdr;
|
AMX_HEADER *hdr;
|
||||||
hdr = (AMX_HEADER *)amx->base;
|
hdr = (AMX_HEADER *)amx->base;
|
||||||
return hdr->flags;
|
return hdr->flags;
|
||||||
|
}
|
||||||
|
|
||||||
|
return amx->flags;
|
||||||
}
|
}
|
||||||
|
|
||||||
// lang_exists(const name[]);
|
// lang_exists(const name[]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user