Argument fuer replace_personal() gefixt.
Muss ein Array sein, kein Objekt.
Change-Id: Ib5e4e9fa8976b610c456d8e04b38291bda82f530
diff --git a/std/npc/info.c b/std/npc/info.c
index 7a8404c..02dae3e 100644
--- a/std/npc/info.c
+++ b/std/npc/info.c
@@ -232,7 +232,7 @@
// Replacements gehen auch in der Antwort des NPC. Das gibt den Antworten
// eine persoenliche Note, und so teuer is das auch nicht :)
- answer = replace_personal(answer, this_player(), 1);
+ answer = replace_personal(answer, ({this_player()}), 1);
if( indent=info[1] )
{
@@ -244,7 +244,7 @@
this_object());
if (stringp(silent))
{
- silent=replace_personal(silent, this_player(), 1);
+ silent=replace_personal(silent, ({this_player()}), 1);
send_room(environment(), silent, MT_LISTEN, "frage",
Name(WER,2)+" ", ({this_player()}));
}
@@ -266,7 +266,7 @@
this_object());
if (stringp(silent))
{
- silent=replace_personal(silent, this_player(), 1);
+ silent=replace_personal(silent, ({this_player()}), 1);
send_room(environment(), silent, MT_LISTEN, "frage",
Name(WER,2)+" ", ({this_player()}) );
}