Author: suokko
Date: Tue Jun 10 11:47:53 2008
New Revision: 27082

URL: http://svn.gna.org/viewcvs/wesnoth?rev=27082&view=rev
Log:
Fixed unstore_unit to excecute correct handler

Modified:
    trunk/src/game_events.cpp

Modified: trunk/src/game_events.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/game_events.cpp?rev=27082&r1=27081&r2=27082&view=diff
==============================================================================
--- trunk/src/game_events.cpp (original)
+++ trunk/src/game_events.cpp Tue Jun 10 11:47:53 2008
@@ -2989,7 +2989,7 @@
                function_call_map.insert(std::pair<std::string, 
wml_handler_function>("fire_event", &wml_func_fire_event));
                function_call_map.insert(std::pair<std::string, 
wml_handler_function>("set_menu_item", &wml_func_set_menu_item));
                function_call_map.insert(std::pair<std::string, 
wml_handler_function>("store_unit", &wml_func_store_unit));
-               function_call_map.insert(std::pair<std::string, 
wml_handler_function>("unstore_unit", &wml_func_role));
+               function_call_map.insert(std::pair<std::string, 
wml_handler_function>("unstore_unit", &wml_func_unstore_unit));
                function_call_map.insert(std::pair<std::string, 
wml_handler_function>("store_map_dimesions", &wml_func_store_map_dimensions));
                function_call_map.insert(std::pair<std::string, 
wml_handler_function>("store_starting_location", 
&wml_func_store_starting_location));
                function_call_map.insert(std::pair<std::string, 
wml_handler_function>("store_villages", &wml_func_store_villages));


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to