components/prboom/p_saveg.c
// killough 2/16/98: save/restore random number generator state information
killough 2/16/98: save/restore random number generator state information
killough 2 / 16 / 98 : save / restore random number generator state information
void P_ArchiveRNG(void)
{
  CheckSaveGame(sizeof rng);
  memcpy(save_p, &rng, sizeof rng);
  save_p += sizeof rng;
}
void P_ArchiveRNG ( void ) { CheckSaveGame ( sizeof rng ) ; memcpy ( save_p , & rng , sizeof rng ) ; save_p += sizeof rng ; }
killough 2/16/98: save/restore random number generator state information
killough 2 / 16 / 98 : save / restore random number generator state information