[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Wesnoth-cvs-commits] wesnoth/src playturn.cpp
From: |
Jon Daniel |
Subject: |
[Wesnoth-cvs-commits] wesnoth/src playturn.cpp |
Date: |
Sat, 19 Mar 2005 15:42:02 -0500 |
CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: Jon Daniel <address@hidden> 05/03/19 20:42:02
Modified files:
src : playturn.cpp
Log message:
fixed making droids while it is not their turn
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/playturn.cpp.diff?tr1=1.346&tr2=1.347&r1=text&r2=text
Patches:
Index: wesnoth/src/playturn.cpp
diff -u wesnoth/src/playturn.cpp:1.346 wesnoth/src/playturn.cpp:1.347
--- wesnoth/src/playturn.cpp:1.346 Sat Mar 19 14:54:00 2005
+++ wesnoth/src/playturn.cpp Sat Mar 19 20:41:58 2005
@@ -1,4 +1,4 @@
-/* $Id: playturn.cpp,v 1.346 2005/03/19 14:54:00 silene Exp $ */
+/* $Id: playturn.cpp,v 1.347 2005/03/19 20:41:58 j_daniel Exp $ */
/*
Copyright (C) 2003 by David White <address@hidden>
Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -2397,7 +2397,9 @@
} else if (teams_[index].is_human()) {
teams_[index].make_ai();
close_textbox();
- throw end_turn_exception(side);
+ if(team_num_ == side) {
+ throw end_turn_exception(side);
+ }
} else if (teams_[index].is_ai()) {
teams_[index].make_human();
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Wesnoth-cvs-commits] wesnoth/src playturn.cpp,
Jon Daniel <=