Author: shadowmaster
Date: Thu May 29 23:43:36 2008
New Revision: 26916

URL: http://svn.gna.org/viewcvs/wesnoth?rev=26916&view=rev
Log:
* Allow [store_map_dimensions] instruction to store map border_size
* property in WML

Modified:
    trunk/src/game_events.cpp

Modified: trunk/src/game_events.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/game_events.cpp?rev=26916&r1=26915&r2=26916&view=diff
==============================================================================
--- trunk/src/game_events.cpp (original)
+++ trunk/src/game_events.cpp Thu May 29 23:43:36 2008
@@ -2529,6 +2529,7 @@
                assert(state_of_game != NULL);
                state_of_game->get_variable(variable + ".width") = 
str_cast<int>(game_map->w());
                state_of_game->get_variable(variable + ".height") = 
str_cast<int>(game_map->h());
+               state_of_game->get_variable(variable + ".border_size") = 
str_cast<int>(game_map->border_size());
        }
 
        else if(cmd == "store_starting_location") {


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to