Author: soliton
Date: Wed May 27 02:19:10 2009
New Revision: 35906
URL: http://svn.gna.org/viewcvs/wesnoth?rev=35906&view=rev
Log:
plain AI sides are local, too
Modified:
trunk/src/team.hpp
Modified: trunk/src/team.hpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/team.hpp?rev=35906&r1=35905&r2=35906&view=diff
==============================================================================
--- trunk/src/team.hpp (original)
+++ trunk/src/team.hpp Wed May 27 02:19:10 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(); }
+ bool is_local() const { return is_human() || is_human_ai() || 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