From 72eb808de6efd156af1463219572d809caf48978 Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Thu, 13 Aug 2009 08:43:39 -0600 Subject: Fix single message NPCs Also have magic effect NPCs talk (they just say "?") to prevent problems when accidentally talking to them. --- src/map/magic-stmt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/magic-stmt.c') diff --git a/src/map/magic-stmt.c b/src/map/magic-stmt.c index e488c2b..4c866ca 100644 --- a/src/map/magic-stmt.c +++ b/src/map/magic-stmt.c @@ -249,7 +249,7 @@ local_spell_effect(int m, int x, int y, int effect, int tdelay) { int delay = 30000; /* 1 minute should be enough for all interesting spell effects, I hope */ struct npc_data *effect_npc = npc_spawn_text(m, x, y, - INVISIBLE_NPC, "", NULL); + INVISIBLE_NPC, "", "?"); int effect_npc_id = effect_npc->bl.id; entity_effect(&effect_npc->bl, effect, tdelay); -- cgit v1.2.3-60-g2f50