CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: Isaac Clerencia <[EMAIL PROTECTED]> 05/04/18 21:30:37
Modified files:
src : dialogs.cpp
Log message:
Mark as encountered_units units offered for upgrade
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/dialogs.cpp.diff?tr1=1.98&tr2=1.99&r1=text&r2=text
Patches:
Index: wesnoth/src/dialogs.cpp
diff -u wesnoth/src/dialogs.cpp:1.98 wesnoth/src/dialogs.cpp:1.99
--- wesnoth/src/dialogs.cpp:1.98 Sat Apr 9 09:46:12 2005
+++ wesnoth/src/dialogs.cpp Mon Apr 18 21:30:37 2005
@@ -1,4 +1,4 @@
-/* $Id: dialogs.cpp,v 1.98 2005/04/09 09:46:12 gruikya Exp $ */
+/* $Id: dialogs.cpp,v 1.99 2005/04/18 21:30:37 isaaccp Exp $ */
/*
Copyright (C) 2003 by David White <[EMAIL PROTECTED]>
Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -70,6 +70,7 @@
sample_units.push_back(::get_advanced_unit(info,units,loc,*op));
const unit_type& type = sample_units.back().type();
lang_options.push_back(IMAGE_PREFIX + type.image() +
COLUMN_SEPARATOR + type.language_name());
+ preferences::encountered_units().insert(*op);
}
const config::child_list& mod_options =
u->second.get_modification_advances();