mirror of
https://github.com/tbamud/tbamud.git
synced 2026-02-07 16:34:20 +01:00
Removed dead stores.
This commit is contained in:
parent
5cca63a01c
commit
bf941bc9b2
28 changed files with 85 additions and 139 deletions
|
|
@ -72,7 +72,6 @@ static void show_obj_to_char(struct obj_data *obj, struct char_data *ch, int mod
|
|||
|
||||
if ((mode == 0) && obj->description) {
|
||||
if (GET_OBJ_VAL(obj, 1) != 0 || OBJ_SAT_IN_BY(obj)) {
|
||||
temp = OBJ_SAT_IN_BY(obj);
|
||||
for (temp = OBJ_SAT_IN_BY(obj); temp; temp = NEXT_SITTING(temp)) {
|
||||
if (temp == ch)
|
||||
found++;
|
||||
|
|
@ -2543,8 +2542,7 @@ ACMD(do_areas)
|
|||
len += tmp_len;
|
||||
|
||||
if (overlap_shown) {
|
||||
tmp_len = snprintf(buf+len, sizeof(buf)-len, "Areas shown in \trred\tn may have some creatures outside the specified range.\r\n");
|
||||
len += tmp_len;
|
||||
snprintf(buf+len, sizeof(buf)-len, "Areas shown in \trred\tn may have some creatures outside the specified range.\r\n");
|
||||
}
|
||||
|
||||
if (zcount == 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue