mail[Wesnoth-commits] r33218 - /trunk/src/unit.cpp


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by soliton . de on March 01, 2009 - 12:52:
Author: soliton
Date: Sun Mar  1 12:52:26 2009
New Revision: 33218

URL: http://svn.gna.org/viewcvs/wesnoth?rev=33218&view=rev
Log:
default movement cost should be impassable

Modified:
    trunk/src/unit.cpp

Modified: trunk/src/unit.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/unit.cpp?rev=33218&r1=33217&r2=33218&view=diff
==============================================================================
--- trunk/src/unit.cpp (original)
+++ trunk/src/unit.cpp Sun Mar  1 12:52:26 2009
@@ -2116,7 +2116,7 @@
 
        const config* movement_costs = cfg_.child("movement_costs");
 
-       int res = -1;
+       int res = impassable;
        if(movement_costs != NULL) {
                if(underlying.size() != 1) {
                        ERR_CONFIG << "terrain '" << terrain << "' has "




Related Messages


Powered by MHonArc, Updated Sun Mar 01 13:20:05 2009