Fixed entity_set_edict
This commit is contained in:
parent
c29a7d34e5
commit
3efa25a5fb
|
@ -1101,6 +1101,7 @@ static cell AMX_NATIVE_CALL entity_set_edict(AMX *amx, cell *params)
|
|||
int iSetEnt = params[3];
|
||||
|
||||
CHECK_ENTITY(iEnt);
|
||||
if (iSetEnt != 0)
|
||||
CHECK_ENTITY(iSetEnt);
|
||||
|
||||
edict_t *pEnt = INDEXENT2(iEnt);
|
||||
|
|
Loading…
Reference in New Issue
Block a user