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:
disperse
2024-05-07 10:31:40 -07:00
committed by PatR
parent 389a17bf02
commit 2ce432657c
+1 -1
View File
@@ -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;
} }