Author: silene
Date: Mon Apr 20 21:38:05 2009
New Revision: 35082
URL: http://svn.gna.org/viewcvs/wesnoth?rev=35082&view=rev
Log:
Fixed copy-paste error.
Modified:
trunk/src/scripting/lua.cpp
Modified: trunk/src/scripting/lua.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/scripting/lua.cpp?rev=35082&r1=35081&r2=35082&view=diff
==============================================================================
--- trunk/src/scripting/lua.cpp (original)
+++ trunk/src/scripting/lua.cpp Mon Apr 20 21:38:05 2009
@@ -663,7 +663,7 @@
modify_int_attrib("gold", t.set_gold(value));
modify_tstring_attrib("objectives", t.set_objectives(value, true));
modify_int_attrib("village_gold", t.set_village_gold(value));
- modify_int_attrib("base_income", t.base_income());
+ modify_int_attrib("base_income", t.set_base_income(value));
modify_bool_attrib("objectives_changed",
t.set_objectives_changed(value));
modify_tstring_attrib("user_team_name", t.change_team(t.team_name(),
value));
modify_string_attrib("team_name", t.change_team(value,
t.user_team_name()));
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits