Author: silene
Date: Wed May 27 09:37:09 2009
New Revision: 35909

URL: http://svn.gna.org/viewcvs/wesnoth?rev=35909&view=rev
Log:
Removed dead code: a human AI (whatever that means) is an AI.

Modified:
    trunk/src/team.hpp

Modified: trunk/src/team.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/team.hpp?rev=35909&r1=35908&r2=35909&view=diff
==============================================================================
--- trunk/src/team.hpp (original)
+++ trunk/src/team.hpp Wed May 27 09:37:09 2009
@@ -227,7 +227,7 @@
        bool is_ai() const { return info_.controller == team_info::AI || 
is_human_ai(); }
        bool is_empty() const { return info_.controller == team_info::EMPTY; }
 
-       bool is_local() const { return is_human() || is_human_ai() || is_ai(); }
+       bool is_local() const { return is_human() || is_ai(); }
        bool is_network() const { return is_network_human() || is_network_ai(); 
}
 
        void make_human() { info_.controller = team_info::HUMAN; }


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

Reply via email to