added support for loading list of all user names
[rocksndiamonds.git] / src / init.c
index 381423265f235032ec96b0415628845eb0c30928..bae10aff54191ef28f82dba28b61dd6c8ea1892c 100644 (file)
@@ -4912,6 +4912,8 @@ static void InitGlobal(void)
   global.anim_status = global.anim_status_next = GAME_MODE_LOADING;
 
   global.use_envelope_request = FALSE;
+
+  global.user_names = NULL;
 }
 
 static void Execute_Command(char *command)
@@ -5184,6 +5186,7 @@ static void Execute_Command(char *command)
 
 static void InitSetup(void)
 {
+  LoadUserNames();                             // global user names
   LoadUserSetup();                             // global user number
 
   LoadSetup();                                 // global setup info