Fixed entity_set_edict
This commit is contained in:
1 parent
c29a7d34e5
commit
3efa25a5fb
1 file changed
+2
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user