Author: alink
Date: Tue Apr 21 03:02:27 2009
New Revision: 35093
URL: http://svn.gna.org/viewcvs/wesnoth?rev=35093&view=rev
Log:
Hide the new ':undiscover' to prevent unwanted clearing of user's progress.
The fact that it's not an English word is now a feature. It prevent the case
where an user wanting to shout 'cover' (or another English word) to his
teammate but hit the 'command' hotkey instead of 'message'. ;-)
Modified:
trunk/src/menu_events.cpp
Modified: trunk/src/menu_events.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/menu_events.cpp?rev=35093&r1=35092&r2=35093&view=diff
==============================================================================
--- trunk/src/menu_events.cpp (original)
+++ trunk/src/menu_events.cpp Tue Apr 21 03:02:27 2009
@@ -2234,8 +2234,9 @@
_("Remove a trait from a unit. (Does
not work yet.)"), "", "D");*/
register_command("discover",
&console_handler::do_discover,
_("Discover all units in help."), "");
- register_command("undiscover",
&console_handler::do_undiscover,
- _("'Undiscover' all units in help."),
"");
+ // Hide to prevent unwanted clearing of user's
progress
+/* register_command("undiscover",
&console_handler::do_undiscover,
+ _("'Undiscover' all units in help."),
"");*/
register_command("create",
&console_handler::do_create,
_("Create a unit."), "", "D");
register_command("fog",
&console_handler::do_fog,
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits