Revert "Utilized 2x xBRZ scaling for portraitless units in game dialog"

This reverts commit 2ff68304ff and fab229b5e8.
This commit is contained in:
Charles Dang 2018-04-18 02:00:36 +11:00
parent 4d90a77aa8
commit 5e136419fe
2 changed files with 1 additions and 4 deletions

View file

@ -2,7 +2,6 @@
### Language and i18n
* Updated translations: French, Galician
### Miscellaneous and bug fixes
* Utilized 2x xBRZ scaling for portraitless units in game dialog.
* Fixed context menus not dismissing on right click.
## Version 1.13.14

View file

@ -364,9 +364,7 @@ static int impl_unit_get(lua_State *L)
return_string_attrib("variation", u.variation());
return_bool_attrib("zoc", u.get_emit_zoc());
return_string_attrib("facing", map_location::write_direction(u.facing()));
return_string_attrib("portrait", u.big_profile() == u.absolute_image()
? u.absolute_image() + u.image_mods() + "~XBRZ(2)"
: u.big_profile());
return_string_attrib("portrait", u.big_profile() == u.absolute_image() ? u.absolute_image() + u.image_mods() : u.big_profile());
return_cfg_attrib("__cfg", u.write(cfg); u.get_location().write(cfg));
if(luaW_getmetafield(L, 1, m)) {