summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/char_select.cpp6
-rw-r--r--src/gui/char_server.cpp6
-rw-r--r--src/gui/login.cpp6
3 files changed, 0 insertions, 18 deletions
diff --git a/src/gui/char_select.cpp b/src/gui/char_select.cpp
index 128fbf7c..5032b196 100644
--- a/src/gui/char_select.cpp
+++ b/src/gui/char_select.cpp
@@ -441,12 +441,6 @@ void charSelect()
case SDL_QUIT:
state = EXIT;
break;
-
- case SDL_MOUSEMOTION:
- // Update the known mouse position
- mouseX = event.motion.x;
- mouseY = event.motion.y;
- break;
}
guiInput->pushInput(event);
diff --git a/src/gui/char_server.cpp b/src/gui/char_server.cpp
index 781f4a37..c0f1c523 100644
--- a/src/gui/char_server.cpp
+++ b/src/gui/char_server.cpp
@@ -126,12 +126,6 @@ void char_server() {
case SDL_QUIT:
state = EXIT;
break;
-
- case SDL_MOUSEMOTION:
- // Update the known mouse position
- mouseX = event.motion.x;
- mouseY = event.motion.y;
- break;
}
guiInput->pushInput(event);
diff --git a/src/gui/login.cpp b/src/gui/login.cpp
index d0cfa899..5496c01b 100644
--- a/src/gui/login.cpp
+++ b/src/gui/login.cpp
@@ -147,12 +147,6 @@ void login() {
state = EXIT;
}
break;
-
- case SDL_MOUSEMOTION:
- // Update the known mouse position
- mouseX = event.motion.x;
- mouseY = event.motion.y;
- break;
}
guiInput->pushInput(event);