]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - protocol.h
clarifications about the format of svc_fog
[xonotic/darkplaces.git] / protocol.h
index 616f24874d69c6dcbfc46a20e3c551f3767903ba..6de7bcb7f99e330b01dc7524de0c6ab2d0f57284 100644 (file)
@@ -181,7 +181,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 #define        svc_skybox                      37              // [string] skyname
 
 #define svc_farclip                    50              // [coord] size (default is 6144)
-#define svc_fog                                51              // [byte] enable <optional past this point, only included if enable is true> [float] density [byte] red [byte] green [byte] blue
+#define svc_fog                                51              // [byte] enable <optional past this point, only included if enable is true> [short] density*4096 [byte] red [byte] green [byte] blue
 //#define svc_playerposition   52              // only used in dpprotocol mode
 
 //