Author: shadowmaster
Date: Sun Apr 5 04:15:47 2009
New Revision: 34517
URL: http://svn.gna.org/viewcvs/wesnoth?rev=34517&view=rev
Log:
Set appropriate default parameters for the storyscreen::page
constructor, thus fixing a regression with background scaling.
Modified:
trunk/src/storyscreen/page.cpp
Modified: trunk/src/storyscreen/page.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/storyscreen/page.cpp?rev=34517&r1=34516&r2=34517&view=diff
==============================================================================
--- trunk/src/storyscreen/page.cpp (original)
+++ trunk/src/storyscreen/page.cpp Sun Apr 5 04:15:47 2009
@@ -123,13 +123,13 @@
}
page::page(game_state& state_of_game, const vconfig& page_cfg)
- : scale_background_()
+ : scale_background_(true)
, background_file_()
, show_title_()
, text_()
, text_title_()
- , text_block_loc_()
- , title_alignment_()
+ , text_block_loc_(text_block_loc_)
+ , title_alignment_(title_alignment_)
, music_()
, floating_images_()
{
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits