Advertisement
tm512

Untitled

Jul 10th, 2011
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. case MSG_DISC:
  2. {
  3. int d = ReadUInt8((uint8_t**)&p);
  4. mobj_t *mo;
  5.  
  6. if(!playeringame[d] || !players[d].mo)
  7. return;
  8.  
  9. playeringame[d] = false;
  10. mo = players[d].mo;
  11. P_RemoveMobj(mo);
  12. mo->player = NULL;
  13. players[d].mo = NULL;
  14. memset(&players[d], 0, sizeof(player_t));
  15. break;
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement