This commit is contained in:
2024-08-01 19:43:45 -05:00
committed by Celtic Minstrel
parent 5b686595f3
commit 0a3aa97b59

View File

@@ -42,6 +42,8 @@ extern sf::Texture pc_gworld;
extern sf::RenderTexture map_gworld; extern sf::RenderTexture map_gworld;
extern cUniverse univ; extern cUniverse univ;
extern void draw_map(bool need_refresh);
short selected; short selected;
bool GTP(short item_num) { bool GTP(short item_num) {
@@ -692,7 +694,7 @@ void init_mini_map() {
play_sound(2); play_sound(2);
throw std::string("Failed to initialized automap!"); throw std::string("Failed to initialized automap!");
} else { } else {
map_gworld.clear(sf::Color::White); draw_map(true);
} }
} }