Author: ilor
Date: Tue Nov 25 00:53:02 2008
New Revision: 31068
URL: http://svn.gna.org/viewcvs/wesnoth?rev=31068&view=rev
Log:
fix bug #12453 by disallowing unchecking delay-shroud-updates whila an undo
move is in progress,
Modified:
trunk/src/playsingle_controller.cpp
Modified: trunk/src/playsingle_controller.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/playsingle_controller.cpp?rev=31068&r1=31067&r2=31068&view=diff
==============================================================================
--- trunk/src/playsingle_controller.cpp (original)
+++ trunk/src/playsingle_controller.cpp Tue Nov 25 00:53:02 2008
@@ -856,7 +856,8 @@
return (!browse_ || linger_) &&
!events::commands_disabled;
case hotkey::HOTKEY_DELAY_SHROUD:
- return !linger_ && (current_team().uses_fog() ||
current_team().uses_shroud());
+ return !linger_ && (current_team().uses_fog() ||
current_team().uses_shroud())
+ && !events::commands_disabled;
case hotkey::HOTKEY_UPDATE_SHROUD:
return !linger_ && !events::commands_disabled &&
current_team().auto_shroud_updates() == false;
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits