]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - keys.c
changed most Sys_Error calls to Con_Printf with appropriate error returns
[xonotic/darkplaces.git] / keys.c
diff --git a/keys.c b/keys.c
index c23c294564b86ee1aa3631dc8e63d41676aace71..cfd62813b12f54082f7c580aa333416093d12a04 100644 (file)
--- a/keys.c
+++ b/keys.c
@@ -859,7 +859,7 @@ Key_Event (int key, char ascii, qboolean down)
                                if(UI_Callback_IsSlotUsed(key_dest - 3))
                                        UI_Callback_KeyDown (key, ascii);
                                else
-                                       Sys_Error ("Bad key_dest");
+                                       Con_Printf ("Key_Event: Bad key_dest");
                }
                return;
        }
@@ -924,7 +924,7 @@ Key_Event (int key, char ascii, qboolean down)
                        if(UI_Callback_IsSlotUsed(key_dest - 3))
                                UI_Callback_KeyDown (key, ascii);
                        else
-                               Sys_Error ("Bad key_dest");
+                               Con_Printf ("Key_Event: Bad key_dest");
        }
 }