Apply state_change() to mirror object.

This commit is contained in:
Eric S. Raymond 2017-07-16 05:08:03 -04:00
parent c4cbb859c2
commit 9eda1f424d
2 changed files with 10 additions and 5 deletions

View file

@ -253,7 +253,7 @@ static int vbreak(verb_t verb, obj_t obj)
switch (obj) {
case MIRROR:
if (game.closed) {
rspeak(BREAK_MIRROR);
state_change(MIRROR, MIRROR_BROKEN);
return GO_DWARFWAKE;
} else {
rspeak(TOO_FAR);