mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-10 00:14:17 +00:00
Merge pull request #806 from Pentarctagon/Pentarctagon-two-portraits-fix
Pentarctagon two portraits fix
This commit is contained in:
commit
cb46968285
@ -753,19 +753,6 @@ if(gamemap_width - (10 + ({__GUI_IMAGE_WIDTH})) > {MAX_TEXT_WIDTH}
|
||||
|
||||
{_GUI_WML_MESSAGE_CONTENT}
|
||||
|
||||
[column]
|
||||
|
||||
[spacer]
|
||||
width = "(
|
||||
if(gamemap_width - (10 + ({__GUI_IMAGE_WIDTH})) > {MAX_TEXT_WIDTH}
|
||||
, gamemap_width - (10 + ({__GUI_IMAGE_WIDTH}) + {MAX_TEXT_WIDTH})
|
||||
, 0
|
||||
))"
|
||||
height = 75
|
||||
[/spacer]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
|
||||
[spacer]
|
||||
|
@ -200,6 +200,9 @@ local function message_user_choice(cfg, speaker, options, text_input)
|
||||
title = caption,
|
||||
message = cfg.message,
|
||||
portrait = image,
|
||||
mirror = cfg.mirror,
|
||||
second_portrait = cfg.second_image,
|
||||
second_mirror = cfg.second_mirror,
|
||||
}
|
||||
|
||||
if speaker ~= nil then
|
||||
|
Loading…
x
Reference in New Issue
Block a user