mail[Wesnoth-commits] r24233 - /branches/formula-ai/src/variant.cpp


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

Header


Content

Posted by dragonking on March 02, 2008 - 20:57:
Author: dragonking
Date: Sun Mar  2 20:57:40 2008
New Revision: 24233

URL: http://svn.gna.org/viewcvs/wesnoth?rev=24233&view=rev
Log:
Small fix for the operator<=

Modified:
    branches/formula-ai/src/variant.cpp

Modified: branches/formula-ai/src/variant.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/branches/formula-ai/src/variant.cpp?rev=24233&r1=24232&r2=24233&view=diff
==============================================================================
--- branches/formula-ai/src/variant.cpp (original)
+++ branches/formula-ai/src/variant.cpp Sun Mar  2 20:57:40 2008
@@ -326,7 +326,7 @@
                }
 
                if(v.type_ == TYPE_NULL) {
-                       return *this < variant(0);
+                       return *this <= variant(0);
                }
 
                return false;




Related Messages


Powered by MHonArc, Updated Sun Mar 02 23:21:08 2008