mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-24 13:55:36 +03:00
Fioxed call_think:
if (!is_ent_valid(iEnt)) { EngineError(amx, "Invalid Entity %d", iEnt); return 0; } was if (is_ent_valid(iEnt)) { EngineError(amx, "Invalid Entity %d", iEnt); return 0; }
This commit is contained in:
parent
687a0f23da
commit
df43d897df
@ -47,7 +47,7 @@ static cell AMX_NATIVE_CALL call_think(AMX *amx, cell *params)
|
||||
{
|
||||
int iEnt = params[1];
|
||||
|
||||
if (is_ent_valid(iEnt)) {
|
||||
if (!is_ent_valid(iEnt)) {
|
||||
EngineError(amx, "Invalid Entity %d", iEnt);
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user