From 27da082cc6b500a538d37f348ac5ecc247b88243 Mon Sep 17 00:00:00 2001 From: Steffen Mecke Date: Mon, 12 Jan 2015 02:36:56 +0100 Subject: [PATCH] corrected good dreams message --- src/spells/regioncurse.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/spells/regioncurse.c b/src/spells/regioncurse.c index 0b5b1cdb4..e0c6d8bf7 100644 --- a/src/spells/regioncurse.c +++ b/src/spells/regioncurse.c @@ -74,10 +74,11 @@ static message *cinfo_dreamcurse(const void *obj, objtype_t typ, const curse * c unused_arg(obj); assert(typ == TYP_REGION); - if (curse_geteffect(c) > 0) { + if (c->effect > 0) { return msg_message("curseinfo::gooddream", "id", c->no); + } else { + return msg_message("curseinfo::baddream", "id", c->no); } - return msg_message("curseinfo::baddream", "id", c->no); } static struct curse_type ct_gbdream = {