Update changelog, change a deprecation message

This commit is contained in:
Alexander van Gessel 2010-03-27 03:20:58 +01:00
parent 714e7deaf0
commit ddd0dab6f0
2 changed files with 3 additions and 2 deletions

View file

@ -6,8 +6,9 @@ Version 1.9.0-svn:
* Language and i18n:
* Updated translations:
* WML Engine:
* Deprecated [set_variable]'s random key, use rand instead.
* Deprecated [set_variable]'s random key, use rand instead
* Renamed [unit][status] healable to unhealable so it can default to 'no'
* Added 'side X turn refresh' and 'side X turn Y refresh' events
* Miscellaneous and bug fixes:
* Defaulted log level to warning again
* Removed the unused gui2 menu bar

View file

@ -1255,7 +1255,7 @@ WML_HANDLER_FUNCTION(set_variable, /*event_info*/, cfg)
const std::string random = cfg["random"];
std::string rand = cfg["rand"];
if(random.empty() == false) {
lg::wml_error << "Usage of 'random' is deprecated use 'rand' instead, "
ERR_WML << "Usage of 'random' is deprecated, use 'rand' instead, "
"support will be removed in 1.9.2.\n";
if(rand.empty()) {
rand = random;