Fixing my own typo from the previous commit.
This commit is contained in:
@@ -860,6 +860,7 @@ void find_replacement(void *go, struct script_data *sc, trig_data *trig,
|
|||||||
snprintf(str, slen, "%d", GET_QUESTPOINTS(c));
|
snprintf(str, slen, "%d", GET_QUESTPOINTS(c));
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case 'r':
|
||||||
if (!str_cmp(field, "room")) { /* in NOWHERE, return the void */
|
if (!str_cmp(field, "room")) { /* in NOWHERE, return the void */
|
||||||
/* see note in dg_scripts.h */
|
/* see note in dg_scripts.h */
|
||||||
#ifdef ACTOR_ROOM_IS_UID
|
#ifdef ACTOR_ROOM_IS_UID
|
||||||
@@ -869,6 +870,7 @@ void find_replacement(void *go, struct script_data *sc, trig_data *trig,
|
|||||||
snprintf(str, slen, "%d", (IN_ROOM(c)!= NOWHERE) ? world[IN_ROOM(c)].number : 0);
|
snprintf(str, slen, "%d", (IN_ROOM(c)!= NOWHERE) ? world[IN_ROOM(c)].number : 0);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
case 's':
|
case 's':
|
||||||
if (!str_cmp(field, "saving_breath")) {
|
if (!str_cmp(field, "saving_breath")) {
|
||||||
if (subfield && *subfield) {
|
if (subfield && *subfield) {
|
||||||
|
|||||||
Reference in New Issue
Block a user