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
|
|
@ -333,9 +333,7 @@ ASPELL(spell_identify)
|
|||
}
|
||||
|
||||
if (GET_OBJ_VAL(obj, 3) >= 1 && len < sizeof(bitbuf)) {
|
||||
i = snprintf(bitbuf + len, sizeof(bitbuf) - len, " %s", skill_name(GET_OBJ_VAL(obj, 3)));
|
||||
if (i >= 0)
|
||||
len += i;
|
||||
snprintf(bitbuf + len, sizeof(bitbuf) - len, " %s", skill_name(GET_OBJ_VAL(obj, 3)));
|
||||
}
|
||||
|
||||
send_to_char(ch, "This %s casts: %s\r\n", item_types[(int) GET_OBJ_TYPE(obj)], bitbuf);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue