Addressed issue preventing group recall from working with non-lead casters.

This commit is contained in:
wyld-sw 2017-01-21 12:48:35 -05:00
parent 4590ba16d6
commit d85f6ba42e

View file

@ -586,8 +586,11 @@ void mag_groups(int level, struct char_data *ch, int spellnum, int savetype)
while ((tch = (struct char_data *) simple_list(GROUP(ch)->members)) != NULL) { while ((tch = (struct char_data *) simple_list(GROUP(ch)->members)) != NULL) {
if (IN_ROOM(tch) != IN_ROOM(ch)) if (IN_ROOM(tch) != IN_ROOM(ch))
continue; continue;
if (tch == ch)
continue;
perform_mag_groups(level, ch, tch, spellnum, savetype); perform_mag_groups(level, ch, tch, spellnum, savetype);
} }
perform_mag_groups(level, ch, ch, spellnum, savetype);
} }