diff --git a/src/display.cpp b/src/display.cpp index 97b59499caf..4961943a0a8 100644 --- a/src/display.cpp +++ b/src/display.cpp @@ -1663,7 +1663,9 @@ SDL_Surface* display::getMinimap(int w, int h) SDL_Rect minirect = {0,0,scale,scale}; for(int y = 0; y != map_.y(); ++y) { for(int x = 0; x != map_.x(); ++x) { - if(map_.on_board(gamemap::location(x,y))) { + const bool shrouded = team_valid() && + teams_[currentTeam_].shrouded(x,y); + if(map_.on_board(gamemap::location(x,y)) && !shrouded) { const gamemap::TERRAIN terrain = map_[x][y]; cache_map::iterator i = cache.find(terrain); diff --git a/src/filesystem.cpp b/src/filesystem.cpp index cbaa881febe..a1bf93fd323 100644 --- a/src/filesystem.cpp +++ b/src/filesystem.cpp @@ -14,7 +14,7 @@ //from platform to platform, since these functions are NOT ANSI-conforming //functions. They may have to be altered to port to new platforms #include -#include + //for mkdir #include @@ -30,6 +30,10 @@ #define mode_t int +#else + +#include + #endif //for getenv