]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - server.h
physics: fix and refactor unsticking
[xonotic/darkplaces.git] / server.h
index 22b6a1f84f686e78320f11f99f5b996b70d715e5..20637517eaf873563fbb8d27cd6ce652717e9628 100644 (file)
--- a/server.h
+++ b/server.h
@@ -105,8 +105,6 @@ typedef struct server_s
        /// collision culling data
        world_t world;
 
-       /// map name
-       char name[64]; // %s followed by entrance name
        // variants of map name
        char worldbasename[MAX_QPATH]; // %s
        char worldname[MAX_QPATH]; // maps/%s.bsp
@@ -567,6 +565,7 @@ void SV_LinkEdict_TouchAreaGrid_Call(prvm_edict_t *touch, prvm_edict_t *ent); //
 
 /*! move an entity that is stuck by small amounts in various directions to try to nudge it back into the collision hull
  * returns true if it found a better place
+ * Replaces SV_TryUnstick() and SV_CheckStuck() which in Quake applied to players only.
  */
 qbool SV_UnstickEntity (prvm_edict_t *ent);