mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-24 13:55:36 +03:00
Fixed entity_set_edict
This commit is contained in:
parent
c29a7d34e5
commit
3efa25a5fb
@ -1101,7 +1101,8 @@ static cell AMX_NATIVE_CALL entity_set_edict(AMX *amx, cell *params)
|
||||
int iSetEnt = params[3];
|
||||
|
||||
CHECK_ENTITY(iEnt);
|
||||
CHECK_ENTITY(iSetEnt);
|
||||
if (iSetEnt != 0)
|
||||
CHECK_ENTITY(iSetEnt);
|
||||
|
||||
edict_t *pEnt = INDEXENT2(iEnt);
|
||||
edict_t *pSetEnt = INDEXENT2(iSetEnt);
|
||||
|
Loading…
Reference in New Issue
Block a user