Author: boucman
Date: Wed Mar 28 22:31:30 2012
New Revision: 53683
URL: http://svn.gna.org/viewcvs/wesnoth?rev=53683&view=rev
Log:
fix bug 19563 (patch 3196 by jamit)
Modified:
trunk/src/game_events.cpp
trunk/src/unit.cpp
Modified: trunk/src/game_events.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/game_events.cpp?rev=53683&r1=53682&r2=53683&view=diff
==============================================================================
--- trunk/src/game_events.cpp (original)
+++ trunk/src/game_events.cpp Wed Mar 28 22:31:30 2012
@@ -777,6 +777,7 @@
t.add_fog_override(locs);
else
t.remove_fog_override(locs);
+ recalculate_fog(side_num);
}
// Flag a screen update.
Modified: trunk/src/unit.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/unit.cpp?rev=53683&r1=53682&r2=53683&view=diff
==============================================================================
--- trunk/src/unit.cpp (original)
+++ trunk/src/unit.cpp Wed Mar 28 22:31:30 2012
@@ -1826,7 +1826,7 @@
game_display &disp = *game_display::get_singleton();
const gamemap &map = disp.get_map();
- if ( hidden_ ||
!is_visible_to_team(disp.get_teams()[disp.viewing_team()],false,map) )
+ if ( hidden_ ||
!is_visible_to_team(disp.get_teams()[disp.viewing_team()],disp.show_everything(),map)
)
{
clear_haloes();
if(anim_) {
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits