mail[Wesnoth-commits] r33793 - /trunk/src/formula.cpp


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

Header


Content

Posted by dragonking on March 18, 2009 - 02:16:
Author: dragonking
Date: Wed Mar 18 02:16:11 2009
New Revision: 33793

URL: http://svn.gna.org/viewcvs/wesnoth?rev=33793&view=rev
Log:
Formula AI parser bug that caused where keyword blow up wesnoth every time 
'self' was used in the main formula - fixed.

Modified:
    trunk/src/formula.cpp

Modified: trunk/src/formula.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/formula.cpp?rev=33793&r1=33792&r2=33793&view=diff
==============================================================================
--- trunk/src/formula.cpp (original)
+++ trunk/src/formula.cpp Wed Mar 18 02:16:11 2009
@@ -340,7 +340,7 @@
 public:
        where_variables(const formula_callable &base,
                        expr_table_ptr table )
-               : base_(base), table_(table) { }
+               : formula_callable(false), base_(base), table_(table) { }
 private:
        const formula_callable& base_;
        expr_table_ptr table_;




Related Messages


Powered by MHonArc, Updated Wed Mar 18 03:00:23 2009