diff options
Diffstat (limited to 'src/Config.h')
| -rw-r--r-- | src/Config.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Config.h b/src/Config.h index 5c2cab4..575a620 100644 --- a/src/Config.h +++ b/src/Config.h @@ -88,7 +88,7 @@ #define XCNTR 306 #define YCNTR 192 -#define MAX_DISTANCE sqrt(pow(XRES, 2)+pow(YRES, 2)) +#define MAX_DISTANCE sqrt(pow((float)XRES, 2)+pow((float)YRES, 2)) #define GRAV_DIFF |
