// The only parameter reflects if the entity is "new" to the client, meaning it just came into the client's PVS.
void CSQC_Ent_Update(bool isnew)
{
- SELFPARAM();
+ SELFPARAM(); // needed for engine functions
this.sourceLoc = __FILE__ ":" STR(__LINE__);
int t = ReadByte();
// CSQC_Ent_Remove : Called when the server requests a SSQC / CSQC entity to be removed. Essentially call remove(this) as well.
void CSQC_Ent_Remove()
{
- SELFPARAM();
+ SELFPARAM(); // needed for engine functions
if (autocvar_developer_csqcentities) LOG_INFOF("CSQC_Ent_Remove() with this=%i {.entnum=%d, .enttype=%d}\n", this, this.entnum, this.enttype);
if (wasfreed(this))
{