Impulses: migration pathway
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / cl_client.qc
index 2001d940443e277726429f7312ceddb98558b7aa..7d26e4f7bad0da78b257faa78966b6fe4da40beb 100644 (file)
@@ -2014,7 +2014,7 @@ void ObserverThink()
 {SELFPARAM();
        if ( self.impulse )
        {
-               MinigameImpulse(self.impulse);
+               MinigameImpulse(self, self.impulse);
                self.impulse = 0;
        }
        float prefered_movetype;
@@ -2049,7 +2049,7 @@ void SpectatorThink()
 {SELFPARAM();
        if ( self.impulse )
        {
-               if(MinigameImpulse(self.impulse))
+               if(MinigameImpulse(self, self.impulse))
                        self.impulse = 0;
        }
        if (self.flags & FL_JUMPRELEASED) {