Author: tschmitz
Date: Sat Jul 9 09:57:02 2011
New Revision: 50250
URL: http://svn.gna.org/viewcvs/wesnoth?rev=50250&view=rev
Log:
Whiteboard: Fixed a network problem with planning multiple sequential actions
for a single unit.
Modified:
trunk/src/whiteboard/move.cpp
Modified: trunk/src/whiteboard/move.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/whiteboard/move.cpp?rev=50250&r1=50249&r2=50250&view=diff
==============================================================================
--- trunk/src/whiteboard/move.cpp (original)
+++ trunk/src/whiteboard/move.cpp Sat Jul 9 09:57:02 2011
@@ -111,7 +111,7 @@
// Validate route_ some more
std::vector<map_location> const& steps = route_->steps;
- if(steps.empty() || steps.front() != unit_->get_location())
+ if(steps.empty())
throw action::ctor_err("move: Invalid route_");
// Construct arrow_
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits