Put amlas first in the order of unit permanent modifiers

This commit is contained in:
Benoît Timbert 2007-07-21 18:46:00 +00:00
parent 0751a8de74
commit c86bb34888
2 changed files with 2 additions and 2 deletions

View file

@ -15,7 +15,7 @@ Version 1.3.5+svn:
* proper handling of description autogeneration for per level [effect] on
level 0 units
* changed the order of which the permanent modifications of a unit are
evaluated to (traits, amlas, objects)
evaluated to (amlas, traits, objects)
(previous order: objects, traits, amlas)
* updated the copyright info in the source files also made it explicit
Wesnoth is GPL 2 only (Wesnoth was already GPL 2 only)

View file

@ -46,7 +46,7 @@
#define LOG_UT LOG_STREAM(info, engine)
namespace {
const std::string ModificationTypes[] = { "trait", "advance", "object" };
const std::string ModificationTypes[] = { "advance", "trait", "object" };
const size_t NumModificationTypes = sizeof(ModificationTypes)/
sizeof(*ModificationTypes);