mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-10 19:21:01 +00:00
Revert "Disabled "Delay shroud updates"...
...to test if the whiteboard is a good replacement." by gabba, 2010-08-15T04:17:49Z!gabrielmorin@gmail.com 1. The whiteboard is obviously still way not ready to be a replacement. 2. It has been requested by several users (and by me and Gambit). 3. For real multiplayer, the whiteboard is too complicated in comparison to delay shroud. 4. We need time and testing before 1.10 to remove possible problems interfering with this old code which can have been introduced in the time since it was disabled.
This commit is contained in:
parent
a517fb801f
commit
b1c42e655f
@ -1017,9 +1017,8 @@ bool playsingle_controller::can_execute_command(hotkey::HOTKEY_COMMAND command,
|
||||
return (!browse_ || linger_) && !events::commands_disabled;
|
||||
|
||||
case hotkey::HOTKEY_DELAY_SHROUD:
|
||||
return false; //Disabled to test if whiteboard is appropriate replacement
|
||||
// return !linger_ && (teams_[gui_->viewing_team()].uses_fog() || teams_[gui_->viewing_team()].uses_shroud())
|
||||
// && !events::commands_disabled;
|
||||
return !linger_ && (teams_[gui_->viewing_team()].uses_fog() || teams_[gui_->viewing_team()].uses_shroud())
|
||||
&& !events::commands_disabled;
|
||||
case hotkey::HOTKEY_UPDATE_SHROUD:
|
||||
return !linger_
|
||||
&& player_number_ == gui_->viewing_side()
|
||||
|
Loading…
x
Reference in New Issue
Block a user