summaryrefslogtreecommitdiff
path: root/src/v_video.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/v_video.c')
-rw-r--r--src/v_video.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/v_video.c b/src/v_video.c
index 97d40ec0..56207d64 100644
--- a/src/v_video.c
+++ b/src/v_video.c
@@ -29,6 +29,7 @@
#include <stdio.h>
#include <string.h>
+#include <math.h>
#include "i_system.h"
@@ -766,7 +767,7 @@ void V_DrawMouseSpeedBox(int speed)
// Calculate box position
box_x = SCREENWIDTH - MOUSE_SPEED_BOX_WIDTH - 10;
- box_y = 10;
+ box_y = 15;
V_DrawFilledBox(box_x, box_y,
MOUSE_SPEED_BOX_WIDTH, MOUSE_SPEED_BOX_HEIGHT, bgcolor);