]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/ent_cs.qh
entcs: fix networking of wrong entcs fields (nevertheless miraculously it was working...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / ent_cs.qh
index 0180fea784793f921036cf52bc4a2a91a1ad0aa1..c46d31b12b5b597577232717c14b542ea0805951 100644 (file)
@@ -36,14 +36,13 @@ REGISTER_NET_TEMP(CLIENT_ENTCS)
 
        void entcs_think(entity this);
 
-       void entcs_attach(entity e);
+       void entcs_attach(entity player);
 
-       void entcs_detach(entity e);
+       void entcs_detach(entity player);
 
        .int m_forceupdate;
 
-/** Force an origin update, for player sounds */
-       #define entcs_force_origin(e) ((e).entcs.m_forceupdate = BIT(2))
+       void entcs_force_origin(entity player);
 
 #endif