Author: shadowmaster
Date: Sat Jun 14 00:36:38 2008
New Revision: 27157

URL: http://svn.gna.org/viewcvs/wesnoth?rev=27157&view=rev
Log:
* Fix multiplayer add-ons not being able to specify [binary_path]s
* inside the MULTIPLAYER symbol #ifdef

Modified:
    trunk/src/game.cpp

Modified: trunk/src/game.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/game.cpp?rev=27157&r1=27156&r2=27157&view=diff
==============================================================================
--- trunk/src/game.cpp (original)
+++ trunk/src/game.cpp Sat Jun 14 00:36:38 2008
@@ -1707,13 +1707,15 @@
        }
 
        try {
-
                /* do */ {
                        reset_defines_map();
                        defines_map_[state_.campaign_define] = preproc_define();
                        refresh_game_cfg();
                        events::discard(INPUT_MASK); // prevent the "keylogger" 
effect
                        cursor::set(cursor::NORMAL);
+                       // update binary paths
+                       paths_manager_.set_paths(game_config_);
+                       clear_binary_paths_cache();
                }
 
                if(res == 2) {


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

Reply via email to