Skip to content

Commit

Permalink
Revert "Utilized 2x xBRZ scaling for portraitless units in game dialog"
Browse files Browse the repository at this point in the history
This reverts commit 601c67d and 98ed802.

(cherry-picked from commit 28b1ab2)
  • Loading branch information
Vultraz committed Oct 7, 2018
1 parent 1664364 commit 6092803
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion changelog.md
Expand Up @@ -102,7 +102,6 @@
* Fixed some MP passwords being saved incorrectly (issue #2745)
* Fixed sometimes being unable to join MP games with non-required eras.
* Fixed locations not being added to the palette when loading a map (#1023)
* Utilized 2x xBRZ scaling for portraitless units in game dialog.
* Fixed context menus not dismissing on right click.

## Version 1.13.12
Expand Down
4 changes: 1 addition & 3 deletions src/scripting/lua_unit.cpp
Expand Up @@ -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)) {
Expand Down

0 comments on commit 6092803

Please sign in to comment.