Author: anonymissimus
Date: Fri May  6 21:04:20 2011
New Revision: 49401

URL: http://svn.gna.org/viewcvs/wesnoth?rev=49401&view=rev
Log:
reverted r49350 (fix for bug #18106)

reintroduces part of bug #17995

Modified:
    trunk/src/play_controller.cpp

Modified: trunk/src/play_controller.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/play_controller.cpp?rev=49401&r1=49400&r2=49401&view=diff
==============================================================================
--- trunk/src/play_controller.cpp (original)
+++ trunk/src/play_controller.cpp Fri May  6 21:04:20 2011
@@ -216,10 +216,8 @@
                gamestate_.build_team_stage_two(tb_ptr);
        }
 
-       
-       if (teams_.empty()) {
-               throw game::game_error("The scenario is invalid, it has no 
sides!");
-       }
+       // mouse_handler expects at least one team for linger mode to work.
+       if (teams_.empty()) end_level_data_.linger_mode = false;
 
        LOG_NG << "loading units..." << (SDL_GetTicks() - ticks_) << "\n";
        loadscreen::start_stage("load units");


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

Reply via email to