little bug fix

This commit is contained in:
David Anderson 2005-07-23 07:07:41 +00:00
parent 25f1870020
commit c5aae0d8aa

View File

@ -1098,6 +1098,8 @@ static cell AMX_NATIVE_CALL entity_set_edict(AMX *amx, cell *params)
int idx = params[2];
int iSetEnt = params[3];
CHECK_ENTITY(iEnt);
edict_t *pEnt = INDEXENT2(iEnt);
edict_t *pSetEnt = INDEXENT2(iSetEnt);