fix shop automatic annotation for #overview
[PR #1243. Cherry picked with new commit log message. PatR]
Fixes issue where room_discovered was never called for shops
unless #overview was called while inside the shop, fixes #1241.
Issue #1241 reported by mark-mcknight-oncorps.
Triggered by commit e4026d55fb
last December: Lazy evaluation of overview info.
Closes #1243
Closes #1241
This commit is contained in:
+1
-1
@@ -3466,7 +3466,7 @@ check_special_room(boolean newlev)
|
|||||||
intemple(roomno + ROOMOFFSET);
|
intemple(roomno + ROOMOFFSET);
|
||||||
/*FALLTHRU*/
|
/*FALLTHRU*/
|
||||||
default:
|
default:
|
||||||
msg_given = (rt == TEMPLE);
|
msg_given = (rt == TEMPLE || rt >= SHOPBASE);
|
||||||
rt = 0;
|
rt = 0;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user