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];
|
int iEnt = params[1];
|
||||||
|
|
||||||
if (is_ent_valid(iEnt)) {
|
if (!is_ent_valid(iEnt)) {
|
||||||
EngineError(amx, "Invalid Entity %d", iEnt);
|
EngineError(amx, "Invalid Entity %d", iEnt);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user