components/prboom/p_saveg.c
/*
 * killough 11/98
 *
 * Same as P_SetTarget() in p_tick.c, except that the target is nullified
 * first, so that no old target's reference count is decreased (when loading
 * savegames, old targets are indices, not really pointers to targets).
 */
killough 11/98
Same as P_SetTarget() in p_tick.c, except that the target is nullified
first, so that no old target's reference count is decreased (when loading
savegames, old targets are indices, not really pointers to targets).
killough 11 / 98 Same as P_SetTarget () in p_tick . c except that the target is nullified first so that no old target ' s reference count is decreased ( when loading savegames old targets are indices not really pointers to targets ) .
static void P_SetNewTarget(mobj_t **mop, mobj_t *targ)
{
  *mop = NULL;
  P_SetTarget(mop, targ);
}
static void P_SetNewTarget ( mobj_t * * mop , mobj_t * targ ) { * mop = NULL ; P_SetTarget ( mop , targ ) ; }
killough 11/98
 Same as P_SetTarget() in p_tick.c, except that the target is nullified
 first, so that no old target's reference count is decreased (when loading
 savegames, old targets are indices, not really pointers to targets).
killough 11 / 98 Same as P_SetTarget () in p_tick . c except that the target is nullified first so that no old target ' s reference count is decreased ( when loading savegames old targets are indices not really pointers to targets ) .