Set the BS constant to be floating-point; this removes the need for floating point numbers when dividing it

This commit is contained in:
Perttu Ahola 2011-11-13 12:30:46 +02:00
parent 77cf27b82b
commit 2ef414d05f

@ -50,7 +50,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#define MAP_GENERATION_LIMIT (31000) #define MAP_GENERATION_LIMIT (31000)
// Size of node in rendering units // Size of node in rendering units
#define BS 10 #define BS (10.0)
#define MAP_BLOCKSIZE 16 #define MAP_BLOCKSIZE 16
/* /*