Set the BS constant to be floating-point; this removes the need for floating point...
authorPerttu Ahola <celeron55@gmail.com>
Sun, 13 Nov 2011 10:30:46 +0000 (12:30 +0200)
committerPerttu Ahola <celeron55@gmail.com>
Tue, 29 Nov 2011 17:13:41 +0000 (19:13 +0200)
src/constants.h

index 9ba10b51c6b0ec8560e7360adf8aea5435944c6f..a7cf1709b6ec036d864641616aecc02018f7b306 100644 (file)
@@ -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
 /*