make map behavior all the same

This commit is contained in:
2024-08-24 18:40:55 -05:00
committed by Celtic Minstrel
parent 97691b8797
commit b653e0d525
5 changed files with 15 additions and 22 deletions

View File

@@ -41,6 +41,7 @@ extern sf::RenderWindow mainPtr;
extern short store_current_pc,current_ground;
extern eGameMode store_pre_shop_mode,store_pre_talk_mode;
extern std::queue<pending_special_type> special_queue;
extern bool prime_time();
extern bool map_visible;
extern sf::RenderWindow mini_map;
@@ -1542,11 +1543,17 @@ bool is_door(location destination) {
}
void display_map(bool record) {
if(record && recording){
void display_map() {
if(recording){
record_action("display_map", "");
}
if(!prime_time()) {
ASB("Finish what you're doing first.");
print_buf();
return;
}
// Show the automap if it's not already visible
if(map_visible) return;
give_help(62,0);