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-06 17:49:27 -04:00
committed by PatR
parent 389a17bf02
commit 2ce432657c

View File

@@ -3466,7 +3466,7 @@ check_special_room(boolean newlev)
intemple(roomno + ROOMOFFSET);
/*FALLTHRU*/
default:
msg_given = (rt == TEMPLE);
msg_given = (rt == TEMPLE || rt >= SHOPBASE);
rt = 0;
break;
}