mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-10 18:37:48 +00:00
Fix the story parts with show_title=yes and story text...
...not having the black rectangle drawn behind. (This affected A Tale of Two Brothers in mainline.)
This commit is contained in:
parent
f4d4d564e5
commit
9bfc7dce61
@ -61,6 +61,8 @@ Version 1.5.5+svn:
|
|||||||
* Gave the Goblin Pillager the same bite attack as the Wolf Rider.
|
* Gave the Goblin Pillager the same bite attack as the Wolf Rider.
|
||||||
* New units: Dread Bat, Royal Warrior (character)
|
* New units: Dread Bat, Royal Warrior (character)
|
||||||
* User interface:
|
* User interface:
|
||||||
|
* Story parts that have show_title=yes and text at the same time have
|
||||||
|
now the text's background drawn.
|
||||||
* The new widget library now also supports closing a dialog with a mouse
|
* The new widget library now also supports closing a dialog with a mouse
|
||||||
click without a close button.
|
click without a close button.
|
||||||
* WML engine:
|
* WML engine:
|
||||||
|
@ -162,7 +162,7 @@ bool show_intro_part(display &disp, const config& part,
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Darken the area for the text and buttons to be drawn on
|
// Darken the area for the text and buttons to be drawn on
|
||||||
if(show_title == false) {
|
if(part["story"].empty() == false) {
|
||||||
draw_solid_tinted_rectangle(0,texty,video.getx(),video.gety()-texty,0,0,0,0.5,video.getSurface());
|
draw_solid_tinted_rectangle(0,texty,video.getx(),video.gety()-texty,0,0,0,0.5,video.getSurface());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user