Author: alink
Date: Thu May 1 19:38:03 2008
New Revision: 26287
URL: http://svn.gna.org/viewcvs/wesnoth?rev=26287&view=rev
Log:
oops forget to disable a now unwanted assert in the previous commit
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=26287&r1=26286&r2=26287&view=diff
==============================================================================
--- trunk/src/menu_events.cpp (original)
+++ trunk/src/menu_events.cpp Thu May 1 19:38:03 2008
@@ -2121,7 +2121,9 @@
virtual void register_alias(const std::string& to_cmd,
const std::string& cmd)
{
- assert_existence(to_cmd);
+ // disable the assert to allow alias to
"command + args"
+ // the fonction assert_existence seems unused
now
+ //assert_existence(to_cmd);
command_alias_map_.insert(
command_alias_map::value_type(cmd,to_cmd));
}
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits