map.h
changeset 1679 62f9e55a3835
parent 1677 c18884ca76d5
child 1942 634961366cdc
--- a/map.h	Mon Apr 11 19:53:44 2005 +0000
+++ b/map.h	Mon Apr 11 20:19:41 2005 +0000
@@ -121,7 +121,9 @@
 /* Approximation of the length of a straight track, relative to a diagonal
  * track (ie the size of a tile side). #defined instead of const so it can
  * stay integer. (no runtime float operations) Is this needed?
+ * Watch out! There are _no_ brackets around here, to prevent intermediate
+ * rounding! Be careful when using this!
  * This value should be sqrt(2)/2 ~ 0.7071 */
-#define STRAIGHT_TRACK_LENGTH (7071/10000)
+#define STRAIGHT_TRACK_LENGTH 7071/10000
 
 #endif