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:
Johnny Bergström 2004-09-29 06:17:44 +00:00
parent 687a0f23da
commit df43d897df

View File

@ -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;
} }