summaryrefslogtreecommitdiff
path: root/src/constants.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-11-13 12:30:46 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-11-29 19:13:41 +0200
commit2ef414d05fdfea7b0ced6dbfde254e3421f36162 (patch)
treea746c31d2fba012e125133d363019b6ae667a99e /src/constants.h
parent77cf27b82be34102181e8897ea8ec289f8d9c426 (diff)
downloadminetest-2ef414d05fdfea7b0ced6dbfde254e3421f36162.tar.gz
minetest-2ef414d05fdfea7b0ced6dbfde254e3421f36162.tar.bz2
minetest-2ef414d05fdfea7b0ced6dbfde254e3421f36162.zip
Set the BS constant to be floating-point; this removes the need for floating point numbers when dividing it
Diffstat (limited to 'src/constants.h')
-rw-r--r--src/constants.h2
1 files changed, 1 insertions, 1 deletions
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
/*