]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/state.qc
Remove remove()
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / state.qc
index 7c6882088dba4a604998fe824b866a66a16f2d68..e73bfa24fd481eacec76cc216f84f3693c9a25e7 100644 (file)
@@ -23,7 +23,7 @@ void PlayerState_detach(entity this)
 
        if (ps.m_client != this) return;  // don't own state, spectator
        FOREACH_CLIENT(PS(it) == ps, { PS(it) = NULL; });
-       remove(ps);
+       delete(ps);
 
     Inventory_delete(this);
 }
@@ -73,7 +73,7 @@ void PlayerScore_Detach(entity this);
 
 void ClientState_detach(entity this)
 {
-       remove(CS(this));
+       delete(CS(this));
        this._cs = NULL;
 
     GetCvars(this, -1);  // free cvars