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-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=2ef414d05fdfea7b0ced6dbfde254e3421f36162;p=zefram%2Fminetest%2Fminetest_engine.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 9ba10b51..a7cf1709 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 /*