Author: alink
Date: Sun Apr 27 03:44:58 2008
New Revision: 26154

URL: http://svn.gna.org/viewcvs/wesnoth?rev=26154&view=rev
Log:
Fix a missing use of reference for unit parameter in undo action

Modified:
    trunk/src/actions.hpp

Modified: trunk/src/actions.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/actions.hpp?rev=26154&r1=26153&r2=26154&view=diff
==============================================================================
--- trunk/src/actions.hpp (original)
+++ trunk/src/actions.hpp Sun Apr 27 03:44:58 2008
@@ -279,7 +279,7 @@
 
 //! Records information to be able to undo a movement.
 struct undo_action {
-       undo_action(unit u,
+       undo_action(const unit& u,
                const std::vector<gamemap::location>& rt,
                int sm, int timebonus = 0, int orig = -1) :
                        route(rt),


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

Reply via email to