From 06d37db7ffcebeefb4e15f49b528f74615a99431 Mon Sep 17 00:00:00 2001 From: Fizban Date: Tue, 2 Sep 2008 01:48:44 +0000 Subject: [PATCH] Fixing my own typo from the previous commit. --- src/dg_variables.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/dg_variables.c b/src/dg_variables.c index 594817a..f6feee1 100644 --- a/src/dg_variables.c +++ b/src/dg_variables.c @@ -860,6 +860,7 @@ void find_replacement(void *go, struct script_data *sc, trig_data *trig, snprintf(str, slen, "%d", GET_QUESTPOINTS(c)); } break; + case 'r': if (!str_cmp(field, "room")) { /* in NOWHERE, return the void */ /* see note in dg_scripts.h */ #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); #endif } + break; case 's': if (!str_cmp(field, "saving_breath")) { if (subfield && *subfield) {