[engine]Fix numlock for Linux.

[engine]Fix numlock for Linux.

diff --git a/src/engine/platform/Linux/systemUnix.cpp b/src/engine/platform/Linux/systemUnix.cpp
index 45a00b3..7af57d7 100644
--- a/src/engine/platform/Linux/systemUnix.cpp
+++ b/src/engine/platform/Linux/systemUnix.cpp
@@ -1023,8 +1023,7 @@ idSystemLocal::IsNumLockDown
 */
 bool idSystemLocal::IsNumLockDown( void )
 {
-    // Dushan : FIX ME for Linux
-    return false;
+        return (SDL_GetModState() & KMOD_NUM) == KMOD_NUM;
 }
 
 #ifdef MACOS_X

GitHub
sha: 0d25364b