backport 2008-11-26T06:55:10Z!crazy-ivanovic@gmx.net to 1.4...
...(bugfix for bug #12453 present both in 1.4 and trunk)
This commit is contained in:
parent
ba45177200
commit
48259abb36
1 changed files with 2 additions and 1 deletions
|
@ -757,7 +757,8 @@ bool playsingle_controller::can_execute_command(hotkey::HOTKEY_COMMAND command,
|
|||
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;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue