Kauf von Plural-Items: Meldung gefixt
Change-Id: I13eeae300a80342e9320556743a4ea933b0c1725
diff --git a/std/room/shop.c b/std/room/shop.c
index 0719d08..1196129 100644
--- a/std/room/shop.c
+++ b/std/room/shop.c
@@ -555,9 +555,12 @@
if (PL->QueryMoney() < val)
{
- write(break_string(capitalize(ob->QueryPronoun(WER))+" wuerde "+val+
- " Muenzen kosten, und Du hast nur "+PL->QueryMoney()+".",78,
- Name(WER)+" bedauert: "));
+ ;
+ write(break_string(sprintf(
+ "%s wuerde%s %d Muenzen kosten, und Du hast nur %d.",
+ capitalize(ob->QueryPronoun(WER)),
+ ob->QueryProp(P_PLURAL) ? "n" : "", val, PL->QueryMoney()),
+ 78, Name(WER)+" bedauert: "));
return 1;
}