diff --git a/src/game/boe.town.cpp b/src/game/boe.town.cpp index 92af62f4..51b34415 100644 --- a/src/game/boe.town.cpp +++ b/src/game/boe.town.cpp @@ -1542,13 +1542,13 @@ void draw_map(bool need_refresh, std::string tooltip_text) { // Draw signs const std::vector& sign_locs = is_out() ? univ.out->sign_locs : univ.town->sign_locs; for(sign_loc_t sign : sign_locs){ - mark_loc(sign, Colours::TRANSPARENT, Colours::YELLOW); + mark_loc(sign, Colours::EMPTY, Colours::YELLOW); } // Draw town entrances if(is_out()){ const std::vector& city_locs = univ.out->city_locs; for(spec_loc_t city : city_locs){ - mark_loc(city, Colours::TRANSPARENT, Colours::GREEN); + mark_loc(city, Colours::EMPTY, Colours::GREEN); } } // Draw vehicles diff --git a/src/gfx/render_shapes.hpp b/src/gfx/render_shapes.hpp index 3ae03c84..62393535 100644 --- a/src/gfx/render_shapes.hpp +++ b/src/gfx/render_shapes.hpp @@ -58,7 +58,8 @@ namespace Colours { const sf::Color YELLOW { 0xff, 0xff, 0x31}; const sf::Color ORANGE { 0xff, 0x80, 0x00}; const sf::Color LIGHT_BLUE { 0xad, 0xd8, 0xe6 }; // Spell points on dark background - const sf::Color TRANSPARENT { 0x00, 0x00, 0x00, 0x00 }; + // On Windows, TRANSPARENT is macro-defined as something...? + const sf::Color EMPTY { 0x00, 0x00, 0x00, 0x00 }; // Text colours for shopping / talking // TODO: The Windows version appears to use completely different colours? const sf::Color SHADOW { 0x00, 0x00, 0x68}; // formerly c[3] QD colour = {0,0,26623} (shop/character name shadow, shop subtitle)