diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-01-17 21:19:42 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-01-17 21:19:42 +0000 |
commit | cf4a6be42ce03dde0caea52032f0403f3f96781a (patch) | |
tree | e57fb325ab5d8962235af10992ff11d163d22d51 /src/main.cpp | |
parent | d6047de8171b3a6c2afd2197dc460e954057494d (diff) | |
download | mana-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.cpp | 2 |
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]; |