Update changelog, change a deprecation message
This commit is contained in:
parent
714e7deaf0
commit
ddd0dab6f0
2 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue