mail[Wesnoth-commits] r13909 - /trunk/src/playsingle_controller.cpp


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edb on October 11, 2006 - 10:13:
Author: edb
Date: Wed Oct 11 10:13:04 2006
New Revision: 13909

URL: http://svn.gna.org/viewcvs/wesnoth?rev=13909&view=rev
Log:
fix https://gna.org/bugs/?7346 even in single player

Modified:
    trunk/src/playsingle_controller.cpp

Modified: trunk/src/playsingle_controller.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/playsingle_controller.cpp?rev=13909&r1=13908&r2=13909&view=diff
==============================================================================
--- trunk/src/playsingle_controller.cpp (original)
+++ trunk/src/playsingle_controller.cpp Wed Oct 11 10:13:04 2006
@@ -423,7 +423,7 @@
                                // reset gui to prev human one
                                if (!teams_[team_index-1].is_human()) {
                                        int t = 
find_human_team_before(team_index);
-                                       if (t) {
+                                       if (t > 0) {
                                                gui_->set_team(t-1);
                                                gui_->recalculate_minimap();
                                                gui_->invalidate_all();




Related Messages


Powered by MHonArc, Updated Wed Oct 11 16:20:15 2006