summaryrefslogtreecommitdiff
path: root/src/constants.h
diff options
context:
space:
mode:
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 dd5611ac7..4da66cc53 100644
--- a/src/constants.h
+++ b/src/constants.h
@@ -71,7 +71,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
// floating-point and integer positions, which potentially give wrong
// results. (negative coordinates, values between nodes, ...)
// Use floatToInt(p, BS) and intToFloat(p, BS).
-#define BS (10.0)
+#define BS 10.0f
// Dimension of a MapBlock
#define MAP_BLOCKSIZE 16