mirror of
https://github.com/glest/glest-source.git
synced 2025-08-18 06:01:17 +02:00
- enabled sdl's key repetition when holding keys for easier typing in chat mode
This commit is contained in:
@@ -289,6 +289,7 @@ bool hasCommandArgument(int argc, char** argv,const string argName, int *foundIn
|
|||||||
} \
|
} \
|
||||||
} \
|
} \
|
||||||
SDL_EnableUNICODE(1); \
|
SDL_EnableUNICODE(1); \
|
||||||
|
SDL_EnableKeyRepeat(SDL_DEFAULT_REPEAT_DELAY, SDL_DEFAULT_REPEAT_INTERVAL); \
|
||||||
int result = X(argc, argv); \
|
int result = X(argc, argv); \
|
||||||
return result; \
|
return result; \
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user