mirror of
https://github.com/rehlds/rehlds.git
synced 2024-12-27 07:05:43 +03:00
More info to 9999 error
https://github.com/dreamstalker/rehlds/issues/805
This commit is contained in:
parent
722e19df31
commit
cdf9a77600
@ -4372,6 +4372,11 @@ int SV_CreatePacketEntities_internal(sv_delta_t type, client_t *client, packet_e
|
||||
}
|
||||
continue;
|
||||
}
|
||||
|
||||
#ifdef REHLDS_FIXES
|
||||
if (newindex == 9999)
|
||||
Sys_Error("%s: bad call from metamod/amxx plugin.", "SV_CreatePacketEntities");
|
||||
#endif
|
||||
|
||||
edict_t *ent = EDICT_NUM(newindex);
|
||||
qboolean custom = to->entities[newnum].entityType & 0x2 ? TRUE : FALSE;
|
||||
|
Loading…
Reference in New Issue
Block a user