mirror of
https://github.com/rehlds/rehlds.git
synced 2024-12-28 15:45:46 +03:00
More info to 9999 error
https://github.com/dreamstalker/rehlds/issues/805
This commit is contained in:
parent
722e19df31
commit
cdf9a77600
@ -4373,6 +4373,11 @@ int SV_CreatePacketEntities_internal(sv_delta_t type, client_t *client, packet_e
|
|||||||
continue;
|
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);
|
edict_t *ent = EDICT_NUM(newindex);
|
||||||
qboolean custom = to->entities[newnum].entityType & 0x2 ? TRUE : FALSE;
|
qboolean custom = to->entities[newnum].entityType & 0x2 ? TRUE : FALSE;
|
||||||
SV_SetCallback(
|
SV_SetCallback(
|
||||||
|
Loading…
Reference in New Issue
Block a user