changeset 40:984f7d5afb6f

srogue: fix '2n orange potions' description bug.
author elwin
date Sat, 04 Dec 2010 02:26:49 +0000
parents d7d45e980791
children 5ea4a4d8f961
files srogue/things.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/srogue/things.c	Sat Nov 27 16:49:44 2010 +0000
+++ b/srogue/things.c	Sat Dec 04 02:26:49 2010 +0000
@@ -70,9 +70,11 @@
 		}
 		else if (p_guess[wh])
 			sprintf(pb,"called %s(%s)", p_guess[wh],p_colors[wh]);
-		else
+		else if (obj->o_count == 1)
 			sprintf(prbuf,"%s%s %s %s%s", nm, vowelstr(p_colors[wh]),
 				p_colors[wh], tn, pl);
+		else
+			sprintf(prbuf,"%s %s %s%s", nm, p_colors[wh], tn, pl);
 	when FOOD:
 		if (wh == 1) {
 			if (obj->o_count == 1)