Merged https://github.com/vcmi/vcmi/pull/47