]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/cl_physics.qc
mutator system: cleanup of hooks
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / cl_physics.qc
index 66dc32fcce2593eb3f570309679bcddc25303d9d..52477cb9a8976093372af11c0119dbd37238c3f7 100644 (file)
@@ -593,8 +593,6 @@ void SV_PlayerPhysics()
        float not_allowed_to_move;
        string c;
 
-       MUTATOR_CALLHOOK(PlayerPhysics);
-
     if(self.PlayerPhysplug)
         if(self.PlayerPhysplug())
             return;
@@ -690,6 +688,8 @@ void SV_PlayerPhysics()
                bot_think();
        }
        
+       MUTATOR_CALLHOOK(PlayerPhysics);
+
        self.items &~= IT_USING_JETPACK;
 
        if(self.classname == "player")