shithub: choc

Download patch

ref: 57f7f44655b42f1bf4adede78b58cd63e3c2bb9f
parent: 9ca9b07341b7c758122cd0c0788fc8813c57d5ad
author: Turo Lamminen <[email protected]>
date: Thu Sep 8 09:47:40 EDT 2022

video: Move usemouse extern declaration to i_video.h

--- a/src/i_video.h
+++ b/src/i_video.h
@@ -103,4 +103,7 @@
 // Joystic/gamepad hysteresis
 extern unsigned int joywait;
 
+extern int usemouse;
+
+
 #endif
--- a/src/v_video.c
+++ b/src/v_video.c
@@ -985,7 +985,6 @@
 
 void V_DrawMouseSpeedBox(int speed)
 {
-    extern int usemouse;
     int bgcolor, bordercolor, black;
 
     // If the mouse is turned off, don't draw the box at all.