mirror of
https://github.com/tbamud/tbamud.git
synced 2026-02-13 03:24:20 +01:00
Removed dead stores.
This commit is contained in:
parent
5cca63a01c
commit
bf941bc9b2
28 changed files with 85 additions and 139 deletions
|
|
@ -92,9 +92,7 @@ void do_dg_cast(void *go, struct script_data *sc, trig_data *trig, int type, cha
|
|||
one_argument(strcpy(buf2, t), t);
|
||||
skip_spaces(&t);
|
||||
}
|
||||
if (IS_SET(SINFO.targets, TAR_IGNORE)) {
|
||||
target = TRUE;
|
||||
} else if (t != NULL && *t) {
|
||||
if (!IS_SET(SINFO.targets, TAR_IGNORE) && t != NULL && *t) {
|
||||
if (!target &&
|
||||
(IS_SET(SINFO.targets, TAR_CHAR_ROOM) ||
|
||||
IS_SET(SINFO.targets, TAR_CHAR_WORLD))) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue