summaryrefslogtreecommitdiff
path: root/src/cgame/cg_syscalls.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cgame/cg_syscalls.c')
-rw-r--r--src/cgame/cg_syscalls.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/cgame/cg_syscalls.c b/src/cgame/cg_syscalls.c
index 43afc2c4..98ba171e 100644
--- a/src/cgame/cg_syscalls.c
+++ b/src/cgame/cg_syscalls.c
@@ -568,3 +568,10 @@ void trap_Key_SetBinding( int keynum, const char *binding ) {
syscall( CG_KEY_SETBINDING, keynum, binding );
}
+void trap_Key_SetOverstrikeMode( qboolean state ) {
+ syscall( CG_KEY_SETOVERSTRIKEMODE, state );
+}
+
+qboolean trap_Key_GetOverstrikeMode( void ) {
+ return syscall( CG_KEY_GETOVERSTRIKEMODE );
+}