forked from github/server
corrected good dreams message
This commit is contained in:
parent
fdac137c0c
commit
27da082cc6
|
@ -74,11 +74,12 @@ 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);
|
||||
}
|
||||
}
|
||||
|
||||
static struct curse_type ct_gbdream = {
|
||||
"gbdream",
|
||||
|
|
Loading…
Reference in New Issue