mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-10 03:14:14 +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.
|
||||
* New units: Dread Bat, Royal Warrior (character)
|
||||
* 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
|
||||
click without a close button.
|
||||
* WML engine:
|
||||
|
@ -162,7 +162,7 @@ bool show_intro_part(display &disp, const config& part,
|
||||
#endif
|
||||
|
||||
// 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());
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user