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:
Anonymissimus 2011-10-20 23:25:43 +00:00
parent a517fb801f
commit b1c42e655f

View File

@ -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()