corrected good dreams message

This commit is contained in:
Steffen Mecke 2015-01-12 02:36:56 +01:00 committed by Enno Rehling
parent fdac137c0c
commit 27da082cc6
1 changed files with 3 additions and 2 deletions

View File

@ -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 = {