diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-11-13 12:30:46 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-11-29 19:13:41 +0200 |
commit | 2ef414d05fdfea7b0ced6dbfde254e3421f36162 (patch) | |
tree | a746c31d2fba012e125133d363019b6ae667a99e | |
parent | 77cf27b82be34102181e8897ea8ec289f8d9c426 (diff) | |
download | minetest-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
-rw-r--r-- | src/constants.h | 2 |
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 /* |