diff options
author | /dev/humancontroller <devhc@example.com> | 2014-07-14 16:38:44 +0200 |
---|---|---|
committer | /dev/humancontroller <devhc@example.com> | 2017-03-09 13:51:07 +0100 |
commit | 5508f21d2b040e2e25e0352e221d19c2a45a0deb (patch) | |
tree | 9efe3a94d636c2a9858f7a8e012e3765620c1e59 /src/sys/sys_win32.c | |
parent | d7077bdad052a64f1e57ba137a5461b670d52787 (diff) |
stop accessing the hostname, the current username and the architecture/platform/OS information
use "UnnamedPlayer" as the default player name
Diffstat (limited to 'src/sys/sys_win32.c')
-rw-r--r-- | src/sys/sys_win32.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/sys/sys_win32.c b/src/sys/sys_win32.c index 6f251299..1a2da73d 100644 --- a/src/sys/sys_win32.c +++ b/src/sys/sys_win32.c @@ -171,27 +171,6 @@ qboolean Sys_RandomBytes( byte *string, int len ) return qtrue; } -/* -================ -Sys_GetCurrentUser -================ -*/ -char *Sys_GetCurrentUser( void ) -{ - static char s_userName[1024]; - unsigned long size = sizeof( s_userName ); - - if( !GetUserName( s_userName, &size ) ) - strcpy( s_userName, "player" ); - - if( !s_userName[0] ) - { - strcpy( s_userName, "player" ); - } - - return s_userName; -} - #define MEM_THRESHOLD 96*1024*1024 /* |