From 9370a34190bd550dad9926a432c5b825f61b12d1 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Fri, 9 Mar 2007 22:10:01 +0000 Subject: [PATCH] bugfix info_str messages --- src/common/spells/shipcurse.c | 2 +- src/common/spells/unitcurse.c | 2 +- src/res/messages.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/common/spells/shipcurse.c b/src/common/spells/shipcurse.c index e3397b5ac..cdc985260 100644 --- a/src/common/spells/shipcurse.c +++ b/src/common/spells/shipcurse.c @@ -73,7 +73,7 @@ cinfo_shipnodrift(const void * obj, typ_t typ, const curse *c, int self) } else { sprintf(buf, "Ein silberner Schimmer umgibt das Schiff"); } - return msg_message("curseinfo::info_str", buf, c->no); + return msg_message("curseinfo::info_str", "text id", buf, c->no); } static struct curse_type ct_stormwind = { "stormwind", diff --git a/src/common/spells/unitcurse.c b/src/common/spells/unitcurse.c index a5f10dbbd..75555a049 100644 --- a/src/common/spells/unitcurse.c +++ b/src/common/spells/unitcurse.c @@ -257,7 +257,7 @@ cinfo_sparkle(const void * obj, typ_t typ, const curse *c, int self) if (end==begin) return NULL; else sprintf(buf, effects[begin + curse_geteffect(c) % (end-begin)], u->name); - return msg_message("curseinfo::info_str", "info id", buf, c->no); + return msg_message("curseinfo::info_str", "text id", buf, c->no); } static struct curse_type ct_sparkle = { "sparkle", CURSETYP_UNIT, CURSE_SPREADMODULO, ( M_MEN | M_DURATION ), diff --git a/src/res/messages.xml b/src/res/messages.xml index ede969722..aaef3edb8 100644 --- a/src/res/messages.xml +++ b/src/res/messages.xml @@ -96,7 +96,7 @@ - + "${info}. ($int36($id))"