]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/command/vote.qc
Net: purge SELFPARAM from sendfuncs
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / command / vote.qc
index bd0b086574247860f2daf822082c93cc31ecb419..c92ffd3e82a31dd065d8bd288a97b4cb0f71febe 100644 (file)
@@ -24,7 +24,7 @@
 // =============================================
 
 //  Nagger for players to know status of voting
-float Nagger_SendEntity(entity to, float sendflags)
+bool Nagger_SendEntity(entity this, entity to, float sendflags)
 {
        int nags, i, f, b;
        entity e;
@@ -392,8 +392,7 @@ void reset_map(float dorespawn)
        FOR_EACH_PLAYER(e)
        if(e.frozen)
        {
-               SELFCALL(e, Unfreeze(self));
-               SELFCALL_DONE();
+               WITH(entity, self, e, Unfreeze(self));
        }
 
        // Moving the player reset code here since the player-reset depends