summaryrefslogtreecommitdiff
path: root/src/map/magic-stmt.c
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-08-13 08:43:39 -0600
committerJared Adams <jaxad0127@gmail.com>2009-08-13 08:43:39 -0600
commit72eb808de6efd156af1463219572d809caf48978 (patch)
tree7eaeaeca11fe793f8b8de00f7797e5dbd9b6cea1 /src/map/magic-stmt.c
parentf6296b7d766a20ad7a48f8e4b01ce67402ae2931 (diff)
downloadtmwa-72eb808de6efd156af1463219572d809caf48978.tar.gz
tmwa-72eb808de6efd156af1463219572d809caf48978.tar.bz2
tmwa-72eb808de6efd156af1463219572d809caf48978.tar.xz
tmwa-72eb808de6efd156af1463219572d809caf48978.zip
Fix single message NPCs
Also have magic effect NPCs talk (they just say "?") to prevent problems when accidentally talking to them.
Diffstat (limited to 'src/map/magic-stmt.c')
-rw-r--r--src/map/magic-stmt.c2
1 files changed, 1 insertions, 1 deletions
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);