mail[Wesnoth-commits] r13908 - /branches/1.2/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:10:
Author: edb
Date: Wed Oct 11 10:10:13 2006
New Revision: 13908

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

Modified:
    branches/1.2/src/playsingle_controller.cpp

Modified: branches/1.2/src/playsingle_controller.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/branches/1.2/src/playsingle_controller.cpp?rev=13908&r1=13907&r2=13908&view=diff
==============================================================================
--- branches/1.2/src/playsingle_controller.cpp (original)
+++ branches/1.2/src/playsingle_controller.cpp Wed Oct 11 10:10:13 2006
@@ -424,7 +424,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 10:20:15 2006