Author: alink
Date: Fri Aug 3 05:27:06 2007
New Revision: 19307
URL: http://svn.gna.org/viewcvs/wesnoth?rev=19307&view=rev
Log:
don't even draw black stripes and "show enemy moves" numbers under shroud,
since we can't see it
Modified:
trunk/src/game_display.cpp
Modified: trunk/src/game_display.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/game_display.cpp?rev=19307&r1=19306&r2=19307&view=diff
==============================================================================
--- trunk/src/game_display.cpp (original)
+++ trunk/src/game_display.cpp Fri Aug 3 05:27:06 2007
@@ -350,7 +350,7 @@
tile_stack_render(xpos, ypos);
// draw reach_map information
- if (!reach_map_.empty() && on_map) {
+ if (!reach_map_.empty() && !is_shrouded && on_map) {
reach_map::iterator reach =
reach_map_.find(*it);
if (reach == reach_map_.end()) {
tile_stack_append(image::get_image(game_config::unreachable_image,image::UNMASKED,image::NO_ADJUST_COLOUR));
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits