From 2ef414d05fdfea7b0ced6dbfde254e3421f36162 Mon Sep 17 00:00:00 2001
From: Perttu Ahola <celeron55@gmail.com>
Date: Sun, 13 Nov 2011 12:30:46 +0200
Subject: [PATCH] Set the BS constant to be floating-point; this removes the
 need for floating point numbers when dividing it

---
 src/constants.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
 /*
-- 
GitLab