summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-01-17 21:19:42 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-01-17 21:19:42 +0000
commitcf4a6be42ce03dde0caea52032f0403f3f96781a (patch)
treee57fb325ab5d8962235af10992ff11d163d22d51 /src/main.cpp
parentd6047de8171b3a6c2afd2197dc460e954057494d (diff)
downloadmana-cf4a6be42ce03dde0caea52032f0403f3f96781a.tar.gz
mana-cf4a6be42ce03dde0caea52032f0403f3f96781a.tar.bz2
mana-cf4a6be42ce03dde0caea52032f0403f3f96781a.tar.xz
mana-cf4a6be42ce03dde0caea52032f0403f3f96781a.zip
Improve key input some more.
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index e15ae0e1..60aaf8df 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -108,6 +108,8 @@ void init_engine() {
atexit(SDL_Quit);
SDL_EnableUNICODE(1);
+ SDL_EnableKeyRepeat(SDL_DEFAULT_REPEAT_DELAY, SDL_DEFAULT_REPEAT_INTERVAL);
+
init_log();
dir = new char[400];