Difference for main/hudlog.c from version 1.8 to 1.9


version 1.8 version 1.9
Line 100
 
Line 100
 // printf("hud_log_message %i %i %i %p: %s\n",recurse_flag,HUD_log_autostart,HUD_log_multi_autostart,fhudlog,message);  // printf("hud_log_message %i %i %i %p: %s\n",recurse_flag,HUD_log_autostart,HUD_log_multi_autostart,fhudlog,message);
  if (++recurse_flag==1){//avoid infinite loop.  doh.   if (++recurse_flag==1){//avoid infinite loop.  doh.
  if (fhudlog){   if (fhudlog){
 #ifdef MULTI  #ifdef NETWORK
  if (HUD_log_multi_autostart && ((Game_mode & GM_MULTI) != fhudmulti))   if (HUD_log_multi_autostart && ((Game_mode & GM_MULTI) != fhudmulti))
  close_hud_log();//if we are using -hudlog_multi, presumably we would want multiplayer games in seperate log files than single player, so close the log file and let a new one be reopened if needed.   close_hud_log();//if we are using -hudlog_multi, presumably we would want multiplayer games in seperate log files than single player, so close the log file and let a new one be reopened if needed.
 #endif  #endif
Line 108
 
Line 108
  if (!fhudlog){   if (!fhudlog){
  if (HUD_log_autostart)   if (HUD_log_autostart)
  open_hud_log();   open_hud_log();
 #ifdef MULTI  #ifdef NETWORK
  else if ((Game_mode & GM_MULTI) && HUD_log_multi_autostart){   else if ((Game_mode & GM_MULTI) && HUD_log_multi_autostart){
  open_hud_log();   open_hud_log();
  }   }

Legend:
line(s) removed in v.1.8 
line(s) changed
 line(s) added in v.1.9