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


version 1.8 version 1.9
Line 318
 
Line 318
         0,  // CLAIM ROBOT          0,  // CLAIM ROBOT
         0,  // END_SYNC          0,  // END_SYNC
         1,  // CLOAK          1,  // CLOAK
         0,  // ENDLEVEL_START          1,  // ENDLEVEL_START
         1,  // DOOR_OPEN          1,  // DOOR_OPEN
         0,  // CREATE_EXPLOSION          0,  // CREATE_EXPLOSION
         0,  // CONTROLCEN_FIRE          0,  // CONTROLCEN_FIRE
Line 2237
 
Line 2237
  if (!multi_goto_secret)   if (!multi_goto_secret)
  multi_goto_secret = 1;   multi_goto_secret = 1;
  }   }
         else if (buf[2] == 9)  
         {  
                 hud_message(MSGC_MULTI_INFO, "%s is in observer mode.",Players[(int)buf[1]].callsign);  
         }  
  create_player_appearance_effect(&Objects[objnum]);   create_player_appearance_effect(&Objects[objnum]);
  multi_make_player_ghost(buf[1]);   multi_make_player_ghost(buf[1]);
 }  }
Line 3017
 
Line 3014
 }  }
   
 //added on 11/9/98 by Victor Rachels to add observer mode  //added on 11/9/98 by Victor Rachels to add observer mode
 void multi_send_observerghost()  void multi_send_observerghost(int pl)
 {  {
      if(!I_am_observer)
       return;
   
   multibuf[0] = (char)MULTI_ENDLEVEL_START;    multibuf[0] = (char)MULTI_ENDLEVEL_START;
   multibuf[1] = Player_num;    multibuf[1] = Player_num;
   multibuf[2] = '9';    multibuf[2] = '9';
   
   multi_send_data(multibuf, 3, 1);  //added/edited on 11/24/99 by Victor Rachels to make sending right
      if(pl==100)
       mekh_send_direct_broadcast(multibuf,3);
      else
       mekh_send_direct_packet(multibuf,3,pl);
   //end this section addition/change - VR
   
 }  }
 //end this section addition - VR  //end this section addition - VR
   

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