From: Perttu Ahola Date: Sun, 13 Nov 2011 10:30:46 +0000 (+0200) Subject: Set the BS constant to be floating-point; this removes the need for floating point... X-Git-Tag: 0.4.dev-20111201-0~186 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2ef414d05fdfea7b0ced6dbfde254e3421f36162;p=oweals%2Fminetest.git Set the BS constant to be floating-point; this removes the need for floating point numbers when dividing it --- diff --git a/src/constants.h b/src/constants.h index 9ba10b51c..a7cf1709b 100644 --- a/src/constants.h +++ b/src/constants.h @@ -50,7 +50,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #define MAP_GENERATION_LIMIT (31000) // Size of node in rendering units -#define BS 10 +#define BS (10.0) #define MAP_BLOCKSIZE 16 /*