mirror of
https://github.com/tbamud/tbamud.git
synced 2026-04-03 10:57:19 +02:00
Remove title code
This commit is contained in:
parent
0f169f850f
commit
8904005169
19 changed files with 35 additions and 384 deletions
|
|
@ -1041,13 +1041,6 @@ void find_replacement(void *go, struct script_data *sc, trig_data *trig,
|
|||
}
|
||||
snprintf(str, slen, "%d", GET_COND(c, THIRST));
|
||||
}
|
||||
else if (!str_cmp(field, "title")) {
|
||||
if (!IS_NPC(c) && subfield && *subfield && valid_dg_target(c, DG_ALLOW_GODS)) {
|
||||
if (GET_TITLE(c)) free(GET_TITLE(c));
|
||||
GET_TITLE(c) = strdup(subfield);
|
||||
}
|
||||
snprintf(str, slen, "%s", IS_NPC(c) ? "" : GET_TITLE(c));
|
||||
}
|
||||
break;
|
||||
case 'v':
|
||||
if (!str_cmp(field, "varexists")) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue