summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-02-13 14:32:36 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-02-13 14:32:36 +0000
commit4b2a028c8002609bd9256d1f8fd73aceee5c44fc (patch)
tree7fea11c221b5bd44a8c3cbf17643a3637e229493 /src/game.cpp
parent821732ebbc2760ec98e0097f38a962c67285d421 (diff)
downloadmana-client-4b2a028c8002609bd9256d1f8fd73aceee5c44fc.tar.gz
mana-client-4b2a028c8002609bd9256d1f8fd73aceee5c44fc.tar.bz2
mana-client-4b2a028c8002609bd9256d1f8fd73aceee5c44fc.tar.xz
mana-client-4b2a028c8002609bd9256d1f8fd73aceee5c44fc.zip
No need to keep track of mouse position ourselves. Also put default startup
mode to windowed.
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/game.cpp b/src/game.cpp
index b9b417df..e4fd0dff 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -47,7 +47,6 @@ volatile bool action_time = false;
int current_npc, server_tick;
extern unsigned char screen_mode;
int fps = 0, frame = 0;
-int mouseX = 0, mouseY = 0;
OkDialog *deathNotice = NULL;
@@ -286,12 +285,6 @@ void do_input()
}
}
- else if (event.type == SDL_MOUSEMOTION)
- {
- // Update the known mouse position
- mouseX = event.motion.x;
- mouseY = event.motion.y;
- }
// Push input to GUI when not used
if (!used) {