Author: dragonking
Date: Wed Jun 24 13:56:08 2009
New Revision: 36386

URL: http://svn.gna.org/viewcvs/wesnoth?rev=36386&view=rev
Log:
Fixed bug #13261

Modified:
    trunk/src/formula.cpp

Modified: trunk/src/formula.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/formula.cpp?rev=36386&r1=36385&r2=36386&view=diff
==============================================================================
--- trunk/src/formula.cpp (original)
+++ trunk/src/formula.cpp Wed Jun 24 13:56:08 2009
@@ -253,7 +253,7 @@
                if(left.is_list() || left.is_map()) {
                        return left[ key ];
                } else {
-                       throw formula_error("Illegal usage of operator []", "", 
"", 0);
+                       return variant();
                }
        }
 


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

Reply via email to